Ejemplo n.º 1
0
        // -------------------------------------------------------------------------------
        // AckCodeConfirm
        // -------------------------------------------------------------------------------
        public void AckCodeConfirm(MsgAckCodeConfirm message, NetworkConnection connection = null)
        {
            string sResult = (message.bSuccess) ? Constants.INT_SUCCESS.ToString() : Constants.INT_FAILURE.ToString();

            DictionaryDoAction("CallbackConfirmCode", new string[] { sResult });
        }
Ejemplo n.º 2
0
        // -------------------------------------------------------------------------------
        // OnAckCodeConfirm
        // -------------------------------------------------------------------------------
        public void OnAckCodeConfirm(NetworkMessage networkMessage)
        {
            MsgAckCodeConfirm message = networkMessage.ReadMessage <MsgAckCodeConfirm>();

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