@@ -86,7 +86,7 @@ public enum CLIENT_TYPE
8686
8787 // 服务端与客户端的版本号以及协议MD5
8888 public string serverVersion = "" ;
89- public string clientVersion = "0.9.0 " ;
89+ public string clientVersion = "0.9.12 " ;
9090 public string serverScriptVersion = "" ;
9191 public string clientScriptVersion = "0.1.0" ;
9292 public string serverProtocolMD5 = "" ;
@@ -180,7 +180,7 @@ void installEvents()
180180 {
181181 Event . registerIn ( "createAccount" , this , "createAccount" ) ;
182182 Event . registerIn ( "login" , this , "login" ) ;
183- Event . registerIn ( "reLoginBaseapp " , this , "reLoginBaseapp " ) ;
183+ Event . registerIn ( "reloginBaseapp " , this , "reloginBaseapp " ) ;
184184 Event . registerIn ( "resetPassword" , this , "resetPassword" ) ;
185185 Event . registerIn ( "bindAccountEmail" , this , "bindAccountEmail" ) ;
186186 Event . registerIn ( "newPassword" , this , "newPassword" ) ;
@@ -624,25 +624,25 @@ private void onLogin_baseapp()
624624 重登录到网关(baseapp)
625625 一些移动类应用容易掉线,可以使用该功能快速的重新与服务端建立通信
626626 */
627- public void reLoginBaseapp ( )
627+ public void reloginBaseapp ( )
628628 {
629- Event . fireAll ( "onReLoginBaseapp " , new object [ ] { } ) ;
629+ Event . fireAll ( "onReloginBaseapp " , new object [ ] { } ) ;
630630 _networkInterface . connectTo ( baseappIP , baseappPort , onReConnectTo_baseapp_callback , null ) ;
631631 }
632632
633633 private void onReConnectTo_baseapp_callback ( string ip , int port , bool success , object userData )
634634 {
635635 if ( ! success )
636636 {
637- Dbg . ERROR_MSG ( string . Format ( "KBEngine::reLoginBaseapp (): connect {0}:{1} is error!" , ip , port ) ) ;
637+ Dbg . ERROR_MSG ( string . Format ( "KBEngine::reloginBaseapp (): connect {0}:{1} is error!" , ip , port ) ) ;
638638 return ;
639639 }
640640
641641
642642 Dbg . DEBUG_MSG ( string . Format ( "KBEngine::relogin_baseapp(): connect {0}:{1} is successfully!" , ip , port ) ) ;
643643
644644 Bundle bundle = Bundle . createObject ( ) ;
645- bundle . newMessage ( Message . messages [ "Baseapp_reLoginBaseapp " ] ) ;
645+ bundle . newMessage ( Message . messages [ "Baseapp_reloginBaseapp " ] ) ;
646646 bundle . writeString ( username ) ;
647647 bundle . writeString ( password ) ;
648648 bundle . writeUint64 ( entity_uuid ) ;
@@ -1395,20 +1395,20 @@ public void Client_onLoginBaseappFailed(UInt16 failedcode)
13951395 /*
13961396 重登录baseapp失败了
13971397 */
1398- public void Client_onReLoginBaseappFailed ( UInt16 failedcode )
1398+ public void Client_onReloginBaseappFailed ( UInt16 failedcode )
13991399 {
1400- Dbg . ERROR_MSG ( "KBEngine::Client_onReLoginBaseappFailed : failedcode(" + failedcode + ")!" ) ;
1401- Event . fireAll ( "onReLoginBaseappFailed " , new object [ ] { failedcode } ) ;
1400+ Dbg . ERROR_MSG ( "KBEngine::Client_onReloginBaseappFailed : failedcode(" + failedcode + ")!" ) ;
1401+ Event . fireAll ( "onReloginBaseappFailed " , new object [ ] { failedcode } ) ;
14021402 }
14031403
14041404 /*
14051405 登录baseapp成功了
14061406 */
1407- public void Client_onReLoginBaseappSuccessfully ( MemoryStream stream )
1407+ public void Client_onReloginBaseappSuccessfully ( MemoryStream stream )
14081408 {
14091409 entity_uuid = stream . readUint64 ( ) ;
1410- Dbg . DEBUG_MSG ( "KBEngine::Client_onReLoginBaseappSuccessfully : name(" + username + ")!" ) ;
1411- Event . fireAll ( "onReLoginBaseappSuccessfully " , new object [ ] { } ) ;
1410+ Dbg . DEBUG_MSG ( "KBEngine::Client_onReloginBaseappSuccessfully : name(" + username + ")!" ) ;
1411+ Event . fireAll ( "onReloginBaseappSuccessfully " , new object [ ] { } ) ;
14121412 }
14131413
14141414 /*
0 commit comments