Ejemplo n.º 1
0
    // Token: 0x060012EB RID: 4843 RVA: 0x0020F9DC File Offset: 0x0020DBDC
    public void CheckNextPart(byte BoardID, byte Index)
    {
        if (BoardID == 7)
        {
            return;
        }
        byte b = Index / 20;

        if (b < 5 && b > this.BoardRecived[(int)BoardID])
        {
            MessagePacket messagePacket = new MessagePacket(1024);
            messagePacket.Protocol = Protocol._MSG_REQUEST_LEADERBOARD_CONTENT;
            messagePacket.AddSeqId();
            ushort data;
            byte   data2;
            GameConstants.MapIDToPointCode(DataManager.Instance.RoleAttr.CapitalPoint, out data, out data2);
            messagePacket.Add(data);
            messagePacket.Add(data2);
            messagePacket.Add(BoardID);
            messagePacket.Add(b);
            if (GameConstants.IsBetween((int)BoardID, 5, 7))
            {
                messagePacket.Add(LeaderBoardManager.Instance.KvKTopBoard.SortTime);
            }
            else
            {
                messagePacket.Add(LeaderBoardManager.Instance.BoardUpdateTime[(int)BoardID]);
            }
            messagePacket.Send(false);
        }
    }
Ejemplo n.º 2
0
 // Token: 0x06001D27 RID: 7463 RVA: 0x003449E8 File Offset: 0x00342BE8
 public override void OnOKCancelBoxClick(bool bOK, int arg1, int arg2)
 {
     this.openOkBox = false;
     if (bOK)
     {
         if (arg1 != 0)
         {
             if (arg1 == 1)
             {
                 Debug.Log("賞金:" + this.MoneyAmount);
                 MessagePacket messagePacket = new MessagePacket(1024);
                 messagePacket.Protocol = Protocol._MSG_REQUEST_CHANGE_BOUNTY;
                 messagePacket.AddSeqId();
                 messagePacket.Add(this.MoneyAmount);
                 messagePacket.Send(false);
                 GUIManager.Instance.CloseMenu(EGUIWindow.UI_JailMoney);
             }
         }
         else
         {
             Debug.Log("贖金:" + this.MoneyAmount);
             MessagePacket messagePacket2 = new MessagePacket(1024);
             messagePacket2.Protocol = Protocol._MSG_REQUEST_CHANGE_RANSOM;
             messagePacket2.AddSeqId();
             messagePacket2.Add(this.PrisonerDMIdx);
             messagePacket2.Add(this.MoneyAmount);
             messagePacket2.Send(false);
             GUIManager.Instance.CloseMenu(EGUIWindow.UI_JailMoney);
         }
     }
 }
Ejemplo n.º 3
0
    // Token: 0x06000216 RID: 534 RVA: 0x0001D0C8 File Offset: 0x0001B2C8
    private void sendModifyBookMark_Alliance(byte ID, string Name)
    {
        if (DataManager.Instance.RoleAlliance.Id == 0u || DataManager.Instance.RoleAlliance.Rank < AllianceRank.RANK4)
        {
            GUIManager.Instance.AddHUDMessage(DataManager.Instance.mStringTable.GetStringByID(4753u), 255, true);
            return;
        }
        if (!GUIManager.Instance.ShowUILock(EUILock.BookMark))
        {
            return;
        }
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_ALLIANCE_MODIFYBOOKMARK;
        CString cstring = StringManager.Instance.StaticString1024();

        cstring.Append(Name);
        cstring.SetLength(cstring.Length);
        byte[] bytes = Encoding.UTF8.GetBytes(cstring.ToString());
        byte   b     = (byte)Math.Min(bytes.Length, (int)this.NameSize);

        cstring.SetLength(cstring.MaxLength);
        messagePacket.AddSeqId();
        messagePacket.Add(1);
        messagePacket.Add(ID -= 1);
        messagePacket.Add(b);
        messagePacket.Add(this.AllAllianceData[(int)ID].KingdomID);
        messagePacket.Add(this.AllAllianceData[(int)ID].KingdomPoint.zoneID);
        messagePacket.Add(this.AllAllianceData[(int)ID].KingdomPoint.pointID);
        messagePacket.Add(bytes, 0, (int)b);
        messagePacket.Send(false);
    }
Ejemplo n.º 4
0
    // Token: 0x06001273 RID: 4723 RVA: 0x00208ECC File Offset: 0x002070CC
    public void SendHideTroopInshelter(byte HideLord, byte TimeIndex, ref uint[] _TroopData)
    {
        byte[] array = new byte[64];
        ushort num   = 0;
        int    num2  = 1;
        int    num3  = 0;

        if (GUIManager.Instance.ShowUILock(EUILock.HideArmy))
        {
            MessagePacket messagePacket = new MessagePacket(1024);
            messagePacket.Protocol = Protocol._MSG_REQUEST_HIDETROOPINSHELTER;
            messagePacket.AddSeqId();
            messagePacket.Add(HideLord);
            messagePacket.Add(TimeIndex);
            int num4 = 0;
            while (num4 < _TroopData.Length && num4 < this.TroopData.Length)
            {
                this.LordInShelter   = HideLord;
                this.TroopData[num4] = _TroopData[num4];
                if (_TroopData[num4] != 0u)
                {
                    num |= (ushort)(num2 << num4);
                    GameConstants.GetBytes(_TroopData[num4], array, num3);
                    num3 += 4;
                }
                num4++;
            }
            messagePacket.Add(num);
            messagePacket.Add(array, 0, 0);
            messagePacket.Send(false);
        }
    }
Ejemplo n.º 5
0
 // Token: 0x06001338 RID: 4920 RVA: 0x00219DAC File Offset: 0x00217FAC
 public override void OnOpen(int arg1, int arg2)
 {
     base.OnOpen(arg1, arg2);
     if (UIKVKLBoard.NewOpen)
     {
         UIKVKLBoard.isTopBoard    = true;
         UIKVKLBoard.isPersonBoard = true;
         UIKVKLBoard.NewOpen       = false;
     }
     if (LeaderBoardManager.Instance.KvKTopBoard.AllianceID != (ulong)DataManager.Instance.RoleAlliance.Id)
     {
         LeaderBoardManager.Instance.KingdomBoardNextTime = 0L;
         LeaderBoardManager.Instance.BoardUpdateTime[7]   = 0L;
     }
     if (LeaderBoardManager.Instance.KingdomBoardNextTime < DataManager.Instance.ServerTime)
     {
         MessagePacket messagePacket = new MessagePacket(1024);
         messagePacket.Protocol = Protocol._MSG_REQUEST_KVK_TOPBOARD;
         messagePacket.AddSeqId();
         ushort data;
         byte   data2;
         GameConstants.MapIDToPointCode(DataManager.Instance.RoleAttr.CapitalPoint, out data, out data2);
         messagePacket.Add(data);
         messagePacket.Add(data2);
         messagePacket.Send(false);
         UIKVKLBoard.isTopBoard = true;
         this.DataReady         = false;
     }
     else
     {
         this.DataReady = true;
     }
     this.KingdomImg = this.AGS_Form.GetChild(6).GetChild(2).GetComponent <RectTransform>();
     this.KingdomImg.gameObject.SetActive(false);
 }
Ejemplo n.º 6
0
    // Token: 0x06001EA5 RID: 7845 RVA: 0x003A8964 File Offset: 0x003A6B64
    private void SendChat(string tmpStr)
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_SENDALLY;
        char[] array = tmpStr.ToCharArray();
        if (this.DM.m_BannedWord != null)
        {
            this.DM.m_BannedWord.CheckBannedWord(array);
        }
        byte[] bytes = Encoding.UTF8.GetBytes(array, 0, tmpStr.Length);
        if (bytes.Length <= 0)
        {
            return;
        }
        this.DM.FindBlack = 0;
        messagePacket.AddSeqId();
        messagePacket.Add(this.AllianceID);
        if (this.DM.ServerVersionMajor != 0)
        {
            messagePacket.Add((!ArabicTransfer.Instance.IsArabicStr(tmpStr)) ? 1 : 2);
        }
        messagePacket.Add((ushort)bytes.Length);
        messagePacket.Add(bytes, 0, 0);
        messagePacket.Send(false);
        GUIManager.Instance.ShowUILock(EUILock.MessageBoard);
        this.DM.sendTimer = 3f;
        this.Input.text   = string.Empty;
    }
Ejemplo n.º 7
0
 // Token: 0x06000E63 RID: 3683 RVA: 0x0017BAD4 File Offset: 0x00179CD4
 protected void OnCheck(string name)
 {
     if (this.Type == ECaseByCaseType.ECBCT_ReNickName)
     {
         this.SetStatus(DataManager.Instance.m_BannedWord.ChackHasBannedWord(name), string.Empty);
     }
     else if ((this.Checking != Protocol._MSG_REQUEST_ALLIANCE_NAMECHACK && name.Length >= 3) || this.Checking == Protocol._MSG_REQUEST_ALLIANCE_NAMECHACK)
     {
         MessagePacket messagePacket = new MessagePacket(1024);
         messagePacket.Protocol = this.Checking;
         messagePacket.AddSeqId();
         messagePacket.Add(this.Tagging);
         if (this.Type != ECaseByCaseType.ECBCT_AllianceTag)
         {
             messagePacket.Add((byte)Encoding.UTF8.GetByteCount(name));
         }
         messagePacket.Add(name, this.Limits);
         messagePacket.Send(false);
     }
     else
     {
         this.SetStatus(true, string.Empty);
     }
     this.CheckTime = 0f;
 }
Ejemplo n.º 8
0
    // Token: 0x060008CA RID: 2250 RVA: 0x000B5158 File Offset: 0x000B3358
    public static bool sendBattleEndEx()
    {
        if (!GUIManager.Instance.ShowUILock(EUILock.Battle))
        {
            return(false);
        }
        ushort num  = (ushort)BSInvokeUtil.getInstance.getEventDataLen();
        int    num2 = (int)(num + 22);

        if (num2 < 1024)
        {
            num2 = 1024;
        }
        MessagePacket messagePacket = new MessagePacket((ushort)num2);

        messagePacket.AddSeqId();
        messagePacket.Protocol = Protocol._MSG_REQUEST_EX_BATTLEEND;
        messagePacket.Add(DataManager.Instance.BattleSeqID);
        messagePacket.Add(num);
        messagePacket.Add(BattleController.EventBuffer, 0, (int)num);
        if (!messagePacket.Send(false))
        {
            GUIManager.Instance.HideUILock(EUILock.Battle);
            return(false);
        }
        return(true);
    }
Ejemplo n.º 9
0
    // Token: 0x060008C0 RID: 2240 RVA: 0x000B4154 File Offset: 0x000B2354
    public static bool sendInitBattle()
    {
        if (DataManager.StageDataController._stageMode == StageMode.Dare)
        {
            return(BattleNetwork.sendInitBattleEx());
        }
        if (!GUIManager.Instance.ShowUILock(EUILock.Battle))
        {
            return(false);
        }
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.AddSeqId();
        messagePacket.Protocol = Protocol._MSG_REQUEST_BATTLEINIT_NPC;
        ushort currentPointID = BattleNetwork.battlePointID;

        if (!BattleNetwork.bReplay)
        {
            currentPointID = DataManager.StageDataController.currentPointID;
            BattleNetwork.battlePointID = currentPointID;
        }
        messagePacket.Add((byte)(DataManager.StageDataController._stageMode + 1));
        messagePacket.Add(currentPointID);
        for (int i = 0; i < 5; i++)
        {
            messagePacket.Add(DataManager.Instance.heroBattleData[i].HeroID);
        }
        if (!messagePacket.Send(false))
        {
            GUIManager.Instance.HideUILock(EUILock.Battle);
            return(false);
        }
        return(true);
    }
Ejemplo n.º 10
0
 // Token: 0x060020EC RID: 8428 RVA: 0x003E8BEC File Offset: 0x003E6DEC
 public void ButtonOnClick(GameObject gameObject, int dataIndex, int panelId)
 {
     if (this.DM.m_WatchTowerData.Count > 0 && dataIndex > -1 && dataIndex < this.DM.m_WatchTowerData.Count)
     {
         if (this.DM.m_WatchTowerData[dataIndex].LineType > 0)
         {
             if (this.mBD.Level >= 4)
             {
                 if (this.GUIM.ShowUILock(EUILock.WatchTower))
                 {
                     MessagePacket messagePacket = new MessagePacket(1024);
                     messagePacket.Protocol = Protocol._MSG_REQUEST_WATCHTOWER_LINEDETAIL;
                     messagePacket.AddSeqId();
                     messagePacket.Add(this.DM.tmp_WatchTowerData[(int)this.DM.m_WatchTowerData[dataIndex].ListIdx].LineID);
                     messagePacket.Send(false);
                     this.DM.m_WTList_Idx = dataIndex;
                 }
             }
             else
             {
                 this.DM.m_WTList_Idx = dataIndex;
                 this.door.OpenMenu(EGUIWindow.UI_Watchtower_Details, (int)this.DM.m_WatchTowerData[dataIndex].LineType, (int)this.mBD.Level, false);
             }
         }
         else
         {
             int num = (int)(this.DM.m_WatchTowerData[dataIndex].ListIdx - 1u);
             this.door.GoToPointCode(DataManager.MapDataController.OtherKingdomData.kingdomID, this.DM.MarchEventData[num].Point.zoneID, this.DM.MarchEventData[num].Point.pointID, 0);
         }
     }
 }
Ejemplo n.º 11
0
    // Token: 0x06000DE2 RID: 3554 RVA: 0x001632D8 File Offset: 0x001614D8
    public void AllianceLeaderSendGift()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.AddSeqId();
        messagePacket.Protocol = Protocol._MSG_REQUEST_REDPOCKET_LEADERSEND;
        messagePacket.Send(false);
    }
Ejemplo n.º 12
0
    // Token: 0x06002BBB RID: 11195 RVA: 0x00482334 File Offset: 0x00480534
    public override void SendImmediate()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_INSTANTWALLREPAIR;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 13
0
    // Token: 0x06001827 RID: 6183 RVA: 0x0028C29C File Offset: 0x0028A49C
    public void SendShieldLogList()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_SHIELD_LOG_LIST;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 14
0
        private void AsyncSendMessage <T>(T message) where T : MessageBase
        {
            // forward message to message router handler
            var messagePacket = new MessagePacket <T>(_MessageRouter, _MessageRouter);

            messagePacket.AddMessage(message);
            messagePacket.Send();
        }
Ejemplo n.º 15
0
    // Token: 0x060012DF RID: 4831 RVA: 0x0020EC70 File Offset: 0x0020CE70
    public void Send_MSG_REQUEST_KINGOFTHEWORLD_HISTORYKINGDATA()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_KINGOFTHEWORLD_HISTORYKINGDATA;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 16
0
    // Token: 0x060008D8 RID: 2264 RVA: 0x000B55C0 File Offset: 0x000B37C0
    public void Send_MSG_REQUEST_GAMBLE_PRIZE()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_GAMBLE_PRIZE;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 17
0
    // Token: 0x06000DEF RID: 3567 RVA: 0x00163968 File Offset: 0x00161B68
    public void Send_MSG_REQUEST_ALLIANCEMOBLIZATION_MISSION_REFLASH()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_ALLIANCEMOBLIZATION_MISSION_REFLASH;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 18
0
    // Token: 0x06000E01 RID: 3585 RVA: 0x001642A0 File Offset: 0x001624A0
    public void SendActivityAmDegeePrize()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_ACTIVITY_AM_DEGREEPRIZE;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 19
0
    // Token: 0x060016A3 RID: 5795 RVA: 0x002711F0 File Offset: 0x0026F3F0
    private void RequestFatigue()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_PETSKILL_FATIGUE;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 20
0
    // Token: 0x060016BF RID: 5823 RVA: 0x00273430 File Offset: 0x00271630
    public void RequestApplyList()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_PETSKILL_FATIGUE;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 21
0
    // Token: 0x06001288 RID: 4744 RVA: 0x00209E48 File Offset: 0x00208048
    public static void SendRequestIndemnify()
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_INDEMNIFY;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 22
0
    // Token: 0x06000211 RID: 529 RVA: 0x0001CCCC File Offset: 0x0001AECC
    private void sendAddBookMark_Alliance(string Name, ushort KingdomID, int MapPointID)
    {
        StringTable mStringTable = DataManager.Instance.mStringTable;
        DataManager instance     = DataManager.Instance;

        if (instance.RoleAlliance.Id == 0u || instance.RoleAlliance.Rank < AllianceRank.RANK4)
        {
            GUIManager.Instance.AddHUDMessage(mStringTable.GetStringByID(4753u), 255, true);
            return;
        }
        ushort num = this.GetBookMarkID(MapPointID, KingdomID, BookMark.eBookType.Alliance);

        if (num > 0)
        {
            ushort num2 = num;
            num = num2 - 1;
            this.OverWriteID   = num2;
            this.OverWriteType = 3;
            this.OverWriteName = Name;
            this.MessageStr.ClearString();
            this.MessageStr.StringToFormat(this.AllAllianceData[(int)num].Name);
            this.MessageStr.AppendFormat(mStringTable.GetStringByID(12633u));
            GUIManager.Instance.OpenOKCancelBox(5, mStringTable.GetStringByID(12632u), this.MessageStr.ToString(), 0, 0, mStringTable.GetStringByID(4599u), null);
            return;
        }
        if (this.AllianceBookCount == 20)
        {
            GUIManager.Instance.OpenMessageBox(mStringTable.GetStringByID(4826u), mStringTable.GetStringByID(12634u), null, null, 0, 0, false, false, false, false, false);
            return;
        }
        if (!GUIManager.Instance.ShowUILock(EUILock.BookMark))
        {
            return;
        }
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_ALLIANCE_MODIFYBOOKMARK;
        PointCode pointCode;

        GameConstants.MapIDToPointCode(MapPointID, out pointCode.zoneID, out pointCode.pointID);
        CString cstring = StringManager.Instance.StaticString1024();

        cstring.Append(Name);
        cstring.SetLength(cstring.Length);
        byte[] bytes = Encoding.UTF8.GetBytes(cstring.ToString());
        byte   b     = (byte)Math.Min(bytes.Length, (int)this.NameSize);

        cstring.SetLength(cstring.MaxLength);
        messagePacket.AddSeqId();
        messagePacket.Add(0);
        messagePacket.Add((byte)(this.GetEmptyID(BookMark.eBookType.Alliance) - 1));
        messagePacket.Add(b);
        messagePacket.Add(KingdomID);
        messagePacket.Add(pointCode.zoneID);
        messagePacket.Add(pointCode.pointID);
        messagePacket.Add(bytes, 0, (int)b);
        messagePacket.Send(false);
    }
Ejemplo n.º 23
0
    // Token: 0x06001F04 RID: 7940 RVA: 0x003B79B0 File Offset: 0x003B5BB0
    public void OnButtonClick(UIButton sender)
    {
        switch (sender.m_BtnID1)
        {
        case 0:
            this.GUIM.CloseMenu(EGUIWindow.UI_Rating);
            this.GUIM.UIQueueLockRelease(EGUIQueueLock.UIQL_UI_notAllowPopUps);
            break;

        case 1:
        {
            bool    flag    = true;
            CString cstring = StringManager.Instance.StaticString1024();
            cstring.ClearString();
            cstring.IntToFormat(NetworkManager.UserID, 1, false);
            cstring.AppendFormat("{0}_Score_bScoreEnd");
            PlayerPrefs.SetString(cstring.ToString(), flag.ToString());
            this.UpdateUI(1, 0);
            break;
        }

        case 2:
            this.UpdateUI(2, 0);
            break;

        case 3:
        {
            MessagePacket messagePacket = new MessagePacket(1024);
            messagePacket.Protocol = Protocol._MSG_REQUEST_GOOGLESTAR_PRIZE;
            messagePacket.AddSeqId();
            messagePacket.Send(false);
            bool    flag    = true;
            long    num     = 0L;
            CString cstring = StringManager.Instance.StaticString1024();
            cstring.ClearString();
            cstring.IntToFormat(NetworkManager.UserID, 1, false);
            cstring.AppendFormat("{0}");
            long.TryParse(PlayerPrefs.GetString(cstring.ToString()), out num);
            if (num != 0L)
            {
                cstring.ClearString();
                cstring.IntToFormat(num, 1, false);
                cstring.AppendFormat("{0}_Score_bScoreEnd");
                PlayerPrefs.SetString(cstring.ToString(), flag.ToString());
            }
            IGGSDKPlugin.RateGooglePlayApplication(GameConstants.GlobalEditionClassNames);
            this.GUIM.CloseMenu(EGUIWindow.UI_Rating);
            this.GUIM.UIQueueLockRelease(EGUIQueueLock.UIQL_UI_notAllowPopUps);
            break;
        }

        case 4:
            this.GUIM.CloseMenu(EGUIWindow.UI_Rating);
            this.GUIM.UIQueueLockRelease(EGUIQueueLock.UIQL_UI_notAllowPopUps);
            IGGGameSDK.OpenSuggestUrl();
            break;
        }
    }
Ejemplo n.º 24
0
    // Token: 0x06000DED RID: 3565 RVA: 0x00163780 File Offset: 0x00161980
    public void Send_MSG_REQUEST_ALLIANCEMOBLIZATION_MISSION_DATA()
    {
        GUIManager.Instance.ShowUILock(EUILock.AllianceMobilization);
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_ALLIANCEMOBLIZATION_MISSION_DATA;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 25
0
    // Token: 0x06000FC2 RID: 4034 RVA: 0x001B94D4 File Offset: 0x001B76D4
    public override void KickMember(ushort Index, byte WonderID)
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.AddSeqId();
        messagePacket.Protocol = Protocol._MSG_REQUEST_KICK_RALLYMEMBER;
        messagePacket.Add(Index);
        messagePacket.Send(false);
    }
Ejemplo n.º 26
0
    // Token: 0x060012E1 RID: 4833 RVA: 0x0020EEA8 File Offset: 0x0020D0A8
    public void Send_MSG_REQUEST_FEDERAL_HISTORYKINGDATA(byte WonderID)
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_FEDERAL_HISTORYKINGDATA;
        messagePacket.AddSeqId();
        messagePacket.Add(WonderID);
        messagePacket.Send(false);
    }
Ejemplo n.º 27
0
    // Token: 0x060010A4 RID: 4260 RVA: 0x001D8CB8 File Offset: 0x001D6EB8
    public void SendArena_Report()
    {
        GUIManager.Instance.ShowUILock(EUILock.Arena);
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_ARENA_REPORT;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 28
0
    // Token: 0x060010A9 RID: 4265 RVA: 0x001D8E78 File Offset: 0x001D7078
    public void SendArena_ReSet_Challenge_CD()
    {
        GUIManager.Instance.ShowUILock(EUILock.Arena);
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_ARENA_RESET_CHALLENGE_CD;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 29
0
    // Token: 0x060010AA RID: 4266 RVA: 0x001D8EB8 File Offset: 0x001D70B8
    public void SendArena_Arena_GetPrize()
    {
        GUIManager.Instance.ShowUILock(EUILock.Arena);
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_ARENA_GET_PRIZE;
        messagePacket.AddSeqId();
        messagePacket.Send(false);
    }
Ejemplo n.º 30
0
    // Token: 0x06001451 RID: 5201 RVA: 0x00239DA8 File Offset: 0x00237FA8
    public void SendFriend_SocialInfo(byte serialno)
    {
        MessagePacket messagePacket = new MessagePacket(1024);

        messagePacket.Protocol = Protocol._MSG_REQUEST_FRIEND_USER_INFO;
        messagePacket.AddSeqId();
        messagePacket.Add(serialno);
        messagePacket.Send(false);
    }