From b31e57a8079f5bf8fae3dc607929d72939e7e7c0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 13 一月 2021 18:25:05 +0800
Subject: [PATCH] 8677 【BT】【后端】跨服冲榜活动; 新增跨服活动时间管理模块、跨服榜单;跨服邮件;跨服广播优化;相关GM命令、后台工具;(冲突补同步)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
index 0165a84..28bddf2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
@@ -74,6 +74,7 @@
 import GameLogic_FamilyWar
 import OpenServerCampaign
 import PlayerCostRebate
+import CrossActCTGBillboard
 import PlayerActCollectWords
 import PlayerActTotalRecharge
 import PlayerActRechargePrize
@@ -1398,6 +1399,19 @@
                 
             return
         
+        if key.startswith(ShareDefine.Def_Notify_WorldKey_CrossActInfo[:-2]):
+            keyHead = ShareDefine.Def_Notify_WorldKey_CrossActInfo[:-2]
+            actionName = key[len(keyHead):]
+            if actionName not in PyGameData.g_crossActInfoDict:
+                PyGameData.g_crossActInfoDict[actionName] = {}
+            actInfoDict = PyGameData.g_crossActInfoDict[actionName]
+            actInfoDict.update(eval(msgValue))
+            
+            if actionName == ShareDefine.CrossActName_CTGBillboard:
+                CrossActCTGBillboard.RefreshCrossActCTGBillboardInfo()
+            
+            return
+        
         if key == ShareDefine.Def_Notify_WorldKey_CrossZoneName:
             PyGameData.g_crossZoneName = msgValue
             return

--
Gitblit v1.8.0