private void OnMapReadyResult(Packet packet) { _DTO_reply dto = (( _PACKET_GENERIC_ACMD_REPLY )packet).dto; PResult result = ( PResult )dto.result; PResultUtils.ShowAlter(result); }
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); }
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(); } }
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; } }
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(); } }
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(); } }