少年修仙传客户端代码仓库
client_Wu Xijin
2019-04-22 5bcf6a59290a5f7f0caac94867f409c42be165ea
System/WorldMap/MapModel.cs
@@ -147,7 +147,7 @@
            }
        }
        public void RequestQueryMapLineState(int _mapId, int _lineId = 0, bool _isAllLine = true)
        public void RequestQueryMapLineState(int _mapId, byte[] _lineIds = null, bool _isAllLine = true)
        {
            var config = MapConfig.Get(_mapId);
            if (config.MapFBType == (int)MapType.OpenCountry)
@@ -160,10 +160,10 @@
            {
                var lineState = new CA004_tagCGGetFBLinePlayerCnt();
                lineState.MapID = (uint)_mapId;
                lineState.IsAllLine = (byte)(_isAllLine ? 1 : 0);
                lineState.LineCount = (byte)(_isAllLine ? 0 : _lineIds.Length);
                if (_isAllLine)
                {
                    lineState.FBLineID = (byte)_lineId;
                    lineState.LineIDList = new byte[0];
                }
                GameNetSystem.Instance.SendInfo(lineState);
            }