| | |
| | | |
| | | sendInfo.NPCIDList = string.Format("[{0}]", string.Join(",", stringArray)); |
| | | sendInfo.NPCIDListLen = (byte)sendInfo.NPCIDList.Length; |
| | | GameNetSystem.Instance.SendToCrossServer(sendInfo); |
| | | if (CrossServerUtility.IsCrossServerBoss()) |
| | | { |
| | | GameNetSystem.Instance.SendToCrossServer(sendInfo); |
| | | } |
| | | else |
| | | { |
| | | GameNetSystem.Instance.SendInfo(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.SendToCrossServer(sendInfo); |
| | | if (CrossServerUtility.IsCrossServerBoss()) |
| | | { |
| | | GameNetSystem.Instance.SendToCrossServer(sendInfo); |
| | | } |
| | | else |
| | | { |
| | | GameNetSystem.Instance.SendInfo(sendInfo); |
| | | } |
| | | } |
| | | |
| | | public void RequestEliteSurplusInfo() |
| | |
| | | |
| | | sendInfo.NPCIDList = string.Format("[{0}]", string.Join(",", stringArray)); |
| | | sendInfo.NPCIDListLen = (byte)sendInfo.NPCIDList.Length; |
| | | GameNetSystem.Instance.SendToCrossServer(sendInfo); |
| | | |
| | | if (CrossServerUtility.IsCrossServerBoss()) |
| | | { |
| | | GameNetSystem.Instance.SendToCrossServer(sendInfo); |
| | | } |
| | | else |
| | | { |
| | | GameNetSystem.Instance.SendInfo(sendInfo); |
| | | } |
| | | } |
| | | |
| | | public void UpdateMonsterSurplusInfo(HA714_tagMCNPCCntList _npcInfoes) |