From 3dd9789a269c121b2f6490aa1845fd2a192be370 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 15 四月 2019 16:35:21 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(进入动态分布线路的跨服地图分配规则优化,功能对应虚拟线路支持人数控制分流)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_OpenFB.py |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_OpenFB.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_OpenFB.py
index 85e2209..3dbeb61 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_OpenFB.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_OpenFB.py
@@ -17,6 +17,7 @@
 
 import GameWorld
 import IPY_GameWorld
+import PyGameData
 
 
 #逻辑实现
@@ -28,7 +29,7 @@
 #  @return "True" or "False" or ""
 #  @remarks 函数详细说明.
 def DoLogic(query_Type, query_ID, paramList, tick):
-    copyMapID, propertyID = paramList
+    copyMapID, propertyID, funcLineDataCache = paramList
     
     gameWorldManager = GameWorld.GetGameWorld()
     maxCopyCount = gameWorldManager.GetGameWorldCount()
@@ -51,6 +52,10 @@
     GameWorld.Log("GY_Query_OpenFB copyMapID=%s, propertyID=%s" % (copyMapID, propertyID))
     tagGameWorld.SetFBFirstOpen(1) # 开启副本
     tagGameWorld.SetPropertyID(propertyID)
+    if funcLineDataCache:
+        mapID = gameWorldManager.GetRealMapID()
+        key = (mapID, copyMapID)
+        PyGameData.g_crossFuncLineDataCache[key] = funcLineDataCache
     return ''
 
                 

--
Gitblit v1.8.0