예제 #1
0
        private void OnMapReadyResult(Packet packet)
        {
            _DTO_reply dto    = (( _PACKET_GENERIC_ACMD_REPLY )packet).dto;
            PResult    result = ( PResult )dto.result;

            PResultUtils.ShowAlter(result);
        }
예제 #2
0
        private void OnRoomInfoResult(Packet packet)
        {
            this._root.CloseModalWait();
            _DTO_reply dto    = (( _PACKET_GENERIC_ACMD_REPLY )packet).dto;
            PResult    result = ( PResult )dto.result;

            PResultUtils.ShowAlter(result);
        }
예제 #3
0
        private void OnLoginResult(Packet packet)
        {
            _DTO_reply dto    = (( _PACKET_GENERIC_ACMD_REPLY )packet).dto;
            PResult    result = ( PResult )dto.result;

            PResultUtils.ShowAlter(result);
            if (result == PResult.SUCCESS)
            {
                this.SendCreate();
            }
        }
예제 #4
0
        private void OnRemoveFightReadyResult(Packet packet)
        {
            this._root.CloseModalWait();
            _DTO_reply dto    = (( _PACKET_GENERIC_ACMD_REPLY )packet).dto;
            PResult    result = ( PResult )dto.result;

            PResultUtils.ShowAlter(result);
            if (result != PResult.SUCCESS)
            {
                this._root["readyBtn"].asButton.selected = true;
            }
        }
예제 #5
0
        private void OnLeaveRoomResult(Packet packet)
        {
            this._root.CloseModalWait();
            _DTO_reply dto    = (( _PACKET_GENERIC_ACMD_REPLY )packet).dto;
            PResult    result = ( PResult )dto.result;

            PResultUtils.ShowAlter(result);
            if (result == PResult.SUCCESS)
            {
                UIManager.EnterHall();
            }
        }
예제 #6
0
        private void OnCreateRoomResult(Packet packet)
        {
            this._createWin.CloseModalWait();

            _DTO_reply dto    = (( _PACKET_GENERIC_ACMD_REPLY )packet).dto;
            PResult    result = ( PResult )dto.result;

            PResultUtils.ShowAlter(result);
            if (result == PResult.SUCCESS)
            {
                this._createWin.Hide();
            }
        }