Exemple #1
0
        public static void CallBack(CMsgLoginSystemLG2GCAckRegisterAccount msg)
        {
            if (CMsgLoginSystemLG2GCAckRegisterAccount.cb == null)
            {
                return;
            }

            CMsgLoginSystemLG2GCAckRegisterAccount.cb((ERegisterResult)msg.m_state);
        }
Exemple #2
0
        private void RegisterCallBack(ERegisterResult result)
        {
            if (result != ERegisterResult.EREGISTERRESULT_FAIL)
            {
                CGameClient.Singleton.Disconnect();
            }
            CMsgLoginSystemLG2GCAckRegisterAccount ack = new CMsgLoginSystemLG2GCAckRegisterAccount();

            ack.m_state = (uint)result;
            CMsgLoginSystemLG2GCAckRegisterAccount.CallBack(ack);
        }
 private void OnMsgLoginSystemLG2GCAckRegisterAccount(UnityFrame.CMsg msgData)
 {
     CMsgLoginSystemLG2GCAckRegisterAccount msg = (CMsgLoginSystemLG2GCAckRegisterAccount)msgData;
     m_registerResult = (ERegisterResult)msg.m_state;
     CGameClient.Singleton.Disconnect();
 }