void OnChangeAccount(int ie, bool isPress)
 {
     if (isPress)
     {
         return;
     }
     GameMethod.LogOutToLogin();
 }
예제 #2
0
        private void SdkLogOff()
        {
            GameMethod.LogOutToLogin();

            LoadingState lState = GameStateManager.Instance.getState(GameStateTypeEnum.Loading) as LoadingState;

            lState.SetNextState(GameStateTypeEnum.Login);
            lState.SetFrontScenes(View.EScenesType.EST_Play);
            SetStateTo(GameStateTypeEnum.Loading);
        }
예제 #3
0
 private void SdkLogOff()
 {
     GameMethod.LogOutToLogin();          //退出登录,清空数据
     SetStateTo(GameStateTypeEnum.Login); //状态转换到GS_Login状态
 }
예제 #4
0
 private void SdkLogOff()
 {
     GameMethod.LogOutToLogin();
     SetStateTo(GameStateType.GS_Login);
 }
예제 #5
0
        private void SdkLogOff()
        {
            GameMethod.LogOutToLogin();//清除所有账户数据

            SetStateTo(GameStateTypeEnum.Login);
        }