少年修仙传客户端代码仓库
client_Wu Xijin
2019-01-11 8a03288d184934a2c72d937df90416eb0f6edda7
5725 【前端】【1.5】跨服BOSS开发
1个文件已修改
28 ■■■■ 已修改文件
System/CrossServerBoss/CrossServerBossModel.cs 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/CrossServerBoss/CrossServerBossModel.cs
@@ -253,7 +253,14 @@
            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()
@@ -263,7 +270,14 @@
            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()
@@ -279,7 +293,15 @@
            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)