Skip to content

Commit 48ad6c7

Browse files
committed
up
1 parent 276b724 commit 48ad6c7

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Assets/Plugins/kbengine/clientapp.cs

5.17 KB
Binary file not shown.

Assets/Scripts/UI.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using KBEngine;
22
using UnityEngine;
33
using System;
4+
using System.IO;
45
using System.Collections;
56
using System.Collections.Generic;
67
using System.Linq;
@@ -59,6 +60,10 @@ void installEvents()
5960
KBEngine.Event.registerOut("Baseapp_importClientMessages", this, "Baseapp_importClientMessages");
6061
KBEngine.Event.registerOut("Baseapp_importClientEntityDef", this, "Baseapp_importClientEntityDef");
6162

63+
KBEngine.Event.registerOut("onImportClientMessages", this, "onImportClientMessages");
64+
KBEngine.Event.registerOut("onImportClientEntityDef", this, "onImportClientEntityDef");
65+
KBEngine.Event.registerOut("onImportServerErrorsDescr", this, "onImportServerErrorsDescr");
66+
6267
// selavatars
6368
KBEngine.Event.registerOut("onReqAvatarList", this, "onReqAvatarList");
6469
KBEngine.Event.registerOut("onCreateAvatarResult", this, "onCreateAvatarResult");
@@ -393,6 +398,21 @@ public void Baseapp_importClientEntityDef()
393398
info("importClientEntityDef ...");
394399
}
395400

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+
396416
public void onReqAvatarList(Dictionary<UInt64, Dictionary<string, object>> avatarList)
397417
{
398418
ui_avatarList = avatarList;

0 commit comments

Comments
 (0)