From 791cffdb8bbd408c3794709e23a31b4f6845a0bd Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 16 三月 2021 16:08:36 +0800 Subject: [PATCH] 8855 【主干】【BT2】【后端】活动通用逻辑,新增字段支持配置按世界等级开启(限时礼包支持) --- ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py index fb6a050..33e1944 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py @@ -341,6 +341,7 @@ ("dict", "NotifyInfoStart", 0), ("dict", "NotifyInfoEnd", 0), ("list", "NotifyInfoLoop", 0), + ("WORD", "LimitWorldLV", 0), ("WORD", "LVLimit", 0), ("BYTE", "IsDayReset", 0), ), @@ -1347,6 +1348,7 @@ self.NotifyInfoStart = {} self.NotifyInfoEnd = {} self.NotifyInfoLoop = [] + self.LimitWorldLV = 0 self.LVLimit = 0 self.IsDayReset = 0 return @@ -1363,6 +1365,7 @@ def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] + def GetLimitWorldLV(self): return self.LimitWorldLV # 限制开启的最低世界等级 def GetLVLimit(self): return self.LVLimit # 限制等级 def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 -- Gitblit v1.8.0