From 1e08f6ae1a718b6c94a5d6d84bba5e0cf8115b3f Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期二, 23 四月 2019 10:43:36 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/WorldMap/MapModel.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/System/WorldMap/MapModel.cs b/System/WorldMap/MapModel.cs
index e07f178..6c0c6a3 100644
--- a/System/WorldMap/MapModel.cs
+++ b/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);
             }

--
Gitblit v1.8.0