Beispiel #1
0
        // -------------------------------------------------------------------------------
        // AckAccountDelete
        // -------------------------------------------------------------------------------
        public void AckAccountDelete(MsgAckAccountDelete message, NetworkConnection connection = null)
        {
            string sResult = message.nResult.ToString();

            if (message.nResult == Constants.INT_SUCCESS || message.nResult == Constants.INT_CONFIRM)
            {
                accountsRemaining--;
            }

            DictionaryDoAction("CallbackConfirmAccountDelete", new string[] { sResult });
        }
Beispiel #2
0
        // -------------------------------------------------------------------------------
        // OnAckAccountDelete
        // -------------------------------------------------------------------------------
        public void OnAckAccountDelete(NetworkMessage networkMessage)
        {
            MsgAckAccountDelete message = networkMessage.ReadMessage <MsgAckAccountDelete>();

            clientManager.AckAccountDelete(message, networkMessage.conn);
        }