|
1 | 1 | using KBEngine;
|
2 | 2 | using UnityEngine;
|
3 | 3 | using System;
|
| 4 | +using System.IO; |
4 | 5 | using System.Collections;
|
5 | 6 | using System.Collections.Generic;
|
6 | 7 | using System.Linq;
|
@@ -59,6 +60,10 @@ void installEvents()
|
59 | 60 | KBEngine.Event.registerOut("Baseapp_importClientMessages", this, "Baseapp_importClientMessages");
|
60 | 61 | KBEngine.Event.registerOut("Baseapp_importClientEntityDef", this, "Baseapp_importClientEntityDef");
|
61 | 62 |
|
| 63 | + KBEngine.Event.registerOut("onImportClientMessages", this, "onImportClientMessages"); |
| 64 | + KBEngine.Event.registerOut("onImportClientEntityDef", this, "onImportClientEntityDef"); |
| 65 | + KBEngine.Event.registerOut("onImportServerErrorsDescr", this, "onImportServerErrorsDescr"); |
| 66 | + |
62 | 67 | // selavatars
|
63 | 68 | KBEngine.Event.registerOut("onReqAvatarList", this, "onReqAvatarList");
|
64 | 69 | KBEngine.Event.registerOut("onCreateAvatarResult", this, "onCreateAvatarResult");
|
@@ -393,6 +398,21 @@ public void Baseapp_importClientEntityDef()
|
393 | 398 | info("importClientEntityDef ...");
|
394 | 399 | }
|
395 | 400 |
|
| 401 | + public void onImportClientMessages(string currserver, byte[] stream) |
| 402 | + { |
| 403 | + info("importClientMessages successfully!"); |
| 404 | + } |
| 405 | + |
| 406 | + public void onImportServerErrorsDescr(byte[] stream) |
| 407 | + { |
| 408 | + info("importServerErrorsDescr successfully!"); |
| 409 | + } |
| 410 | + |
| 411 | + public void onImportClientEntityDef(byte[] stream) |
| 412 | + { |
| 413 | + info("importClientEntityDef successfully!"); |
| 414 | + } |
| 415 | + |
396 | 416 | public void onReqAvatarList(Dictionary<UInt64, Dictionary<string, object>> avatarList)
|
397 | 417 | {
|
398 | 418 | ui_avatarList = avatarList;
|
|
0 commit comments