@@ -49,18 +49,14 @@ void installEvents()
4949 KBEngine . Event . registerOut ( "onLoginFailed" , this , "onLoginFailed" ) ;
5050 KBEngine . Event . registerOut ( "onVersionNotMatch" , this , "onVersionNotMatch" ) ;
5151 KBEngine . Event . registerOut ( "onScriptVersionNotMatch" , this , "onScriptVersionNotMatch" ) ;
52- KBEngine . Event . registerOut ( "onLoginGatewayFailed " , this , "onLoginGatewayFailed " ) ;
52+ KBEngine . Event . registerOut ( "onLoginBaseappFailed " , this , "onLoginBaseappFailed " ) ;
5353 KBEngine . Event . registerOut ( "onLoginSuccessfully" , this , "onLoginSuccessfully" ) ;
54- KBEngine . Event . registerOut ( "login_baseapp " , this , "login_baseapp " ) ;
54+ KBEngine . Event . registerOut ( "onLoginBaseapp " , this , "onLoginBaseapp " ) ;
5555 KBEngine . Event . registerOut ( "Loginapp_importClientMessages" , this , "Loginapp_importClientMessages" ) ;
5656 KBEngine . Event . registerOut ( "Baseapp_importClientMessages" , this , "Baseapp_importClientMessages" ) ;
5757 KBEngine . Event . registerOut ( "Baseapp_importClientEntityDef" , this , "Baseapp_importClientEntityDef" ) ;
5858
59- KBEngine . Event . registerOut ( "onImportClientMessages" , this , "onImportClientMessages" ) ;
60- KBEngine . Event . registerOut ( "onImportClientEntityDef" , this , "onImportClientEntityDef" ) ;
61- KBEngine . Event . registerOut ( "onImportServerErrorsDescr" , this , "onImportServerErrorsDescr" ) ;
62-
63- // selavatars
59+ // select-avatars
6460 KBEngine . Event . registerOut ( "onReqAvatarList" , this , "onReqAvatarList" ) ;
6561 KBEngine . Event . registerOut ( "onCreateAvatarResult" , this , "onCreateAvatarResult" ) ;
6662 KBEngine . Event . registerOut ( "onRemoveAvatar" , this , "onRemoveAvatar" ) ;
@@ -351,14 +347,14 @@ public void onScriptVersionNotMatch(string verInfo, string serVerInfo)
351347 err ( "" ) ;
352348 }
353349
354- public void onLoginGatewayFailed ( UInt16 failedcode )
350+ public void onLoginBaseappFailed ( UInt16 failedcode )
355351 {
356- err ( "loginGateway is failed(登陆网关失败), err=" + KBEngineApp . app . serverErr ( failedcode ) ) ;
352+ err ( "loginBaseapp is failed(登陆网关失败), err=" + KBEngineApp . app . serverErr ( failedcode ) ) ;
357353 }
358354
359- public void login_baseapp ( )
355+ public void onLoginBaseapp ( )
360356 {
361- info ( "connect to loginGateway , please wait...(连接到网关, 请稍后...)" ) ;
357+ info ( "connect to loginBaseapp , please wait...(连接到网关, 请稍后...)" ) ;
362358 }
363359
364360 public void onLoginSuccessfully ( UInt64 rndUUID , Int32 eid , Account accountEntity )
@@ -391,21 +387,6 @@ public void Baseapp_importClientEntityDef()
391387 info ( "importClientEntityDef ..." ) ;
392388 }
393389
394- public void onImportClientMessages ( string currserver , byte [ ] stream )
395- {
396- info ( "importClientMessages successfully!" ) ;
397- }
398-
399- public void onImportServerErrorsDescr ( byte [ ] stream )
400- {
401- info ( "importServerErrorsDescr successfully!" ) ;
402- }
403-
404- public void onImportClientEntityDef ( byte [ ] stream )
405- {
406- info ( "importClientEntityDef successfully!" ) ;
407- }
408-
409390 public void onReqAvatarList ( Dictionary < UInt64 , Dictionary < string , object > > avatarList )
410391 {
411392 ui_avatarList = avatarList ;
0 commit comments