| | |
| | | |
| | | sendInfo.NPCIDList = string.Format("[{0}]", string.Join(",", stringArray)); |
| | | sendInfo.NPCIDListLen = (byte)sendInfo.NPCIDList.Length; |
| | | GameNetSystem.Instance.SendInfo(sendInfo); |
| | | GameNetSystem.Instance.SendToCrossServer(sendInfo); |
| | | } |
| | | |
| | | public void RequestBoxSurplusInfo() |
| | |
| | | sendInfo.LineID = (ushort)PlayerDatas.Instance.baseData.dungeonLineId; |
| | | sendInfo.NPCIDList = string.Format("[{0},{1}]", bigBoxNpcId, smallBoxNpcId); |
| | | sendInfo.NPCIDListLen = (byte)sendInfo.NPCIDList.Length; |
| | | GameNetSystem.Instance.SendInfo(sendInfo); |
| | | GameNetSystem.Instance.SendToCrossServer(sendInfo); |
| | | } |
| | | |
| | | public void RequestEliteSurplusInfo() |
| | |
| | | |
| | | sendInfo.NPCIDList = string.Format("[{0}]", string.Join(",", stringArray)); |
| | | sendInfo.NPCIDListLen = (byte)sendInfo.NPCIDList.Length; |
| | | GameNetSystem.Instance.SendInfo(sendInfo); |
| | | GameNetSystem.Instance.SendToCrossServer(sendInfo); |
| | | } |
| | | |
| | | public void UpdateMonsterSurplusInfo(HA714_tagMCNPCCntList _npcInfoes) |
| | |
| | | |
| | | private void OnFunctionStateChange(int id) |
| | | { |
| | | if (id == 160) |
| | | if (id == 162) |
| | | { |
| | | UpdateRedpoint(); |
| | | } |
| | |
| | | |
| | | private void UpdateRedpoint() |
| | | { |
| | | if (!FuncOpen.Instance.IsFuncOpen(160)) |
| | | if (!FuncOpen.Instance.IsFuncOpen(162)) |
| | | { |
| | | redpoint.count = 0; |
| | | } |