From 5d79b486b2974522c2d1978dc90c3081827224e0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 26 二月 2026 15:46:46 +0800
Subject: [PATCH] 493 【活动内容】武将登场-服务端
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py
index 910a016..2818ac5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBBillboard.py
@@ -128,13 +128,13 @@
def GetGroupValue1(self): return self.__groupValue1
def GetGroupValue2(self): return self.__groupValue2
- def ClearData(self):
+ def ClearData(self, drName=""):
if not self.__billboardList:
return
- GameWorld.Log("Billboard ClearData billboardType=%s,groupValue1=%s,groupValue2=%s,dataCount=%s"
- % (self.__billboardType, self.__groupValue1, self.__groupValue2, len(self.__billboardList)))
- if GameWorld.IsCrossServer():
- self.SaveDRData("Clear")
+ GameWorld.Log("Billboard ClearData billboardType=%s,groupValue1=%s,groupValue2=%s,dataCount=%s,drName=%s"
+ % (self.__billboardType, self.__groupValue1, self.__groupValue2, len(self.__billboardList), drName))
+ if drName or GameWorld.IsCrossServer():
+ self.SaveDRData(drName if drName else "Clear")
self.__billboardList = [] # [BillboardData, ...]
self.__idOrderDict = {} # {id:名次, ...}
self.__idIndexDict = {}
--
Gitblit v1.8.0