// ------------------------------------------------------------------------------- // AckRegisterAccount // ------------------------------------------------------------------------------- public void AckRegisterAccount(MsgAckAccountRegister message, NetworkConnection connection = null) { string sResult = message.nResult.ToString(); if (message.nResult == Constants.INT_SUCCESS || message.nResult == Constants.INT_CONFIRM) { accountsRemaining--; } DictionaryDoAction("CallbackRegisterAccount", new string[] { sResult }); }
// ------------------------------------------------------------------------------- // OnAckAccountRegister // ------------------------------------------------------------------------------- public void OnAckAccountRegister(NetworkMessage networkMessage) { MsgAckAccountRegister message = networkMessage.ReadMessage <MsgAckAccountRegister>(); clientManager.AckRegisterAccount(message, networkMessage.conn); }