Skip to content

Commit 10535ec

Browse files
committed
up
1 parent f52ec08 commit 10535ec

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Assets/Scripts/u3d_scripts/UI.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,15 +298,14 @@ public void info(string s)
298298
public void login()
299299
{
300300
info("connect to server...(连接到服务端...)");
301-
302-
KBEngine.Event.fireIn("login", new object[]{stringAccount, stringPasswd});
301+
KBEngine.Event.fireIn("login", stringAccount, stringPasswd, System.Text.Encoding.UTF8.GetBytes("kbengine_unity_demo"));
303302
}
304303

305304
public void createAccount()
306305
{
307306
info("connect to server...(连接到服务端...)");
308307

309-
KBEngine.Event.fireIn("createAccount", new object[]{stringAccount, stringPasswd});
308+
KBEngine.Event.fireIn("createAccount", stringAccount, stringPasswd, System.Text.Encoding.UTF8.GetBytes("kbengine_unity_demo"));
310309
}
311310

312311
public void onCreateAccountResult(UInt16 retcode, byte[] datas)

0 commit comments

Comments
 (0)