From 84d41bd256d53ebafab1ca79b35a9f91d459366a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 13 四月 2021 16:16:17 +0800 Subject: [PATCH] 8896 【BT2】【主干】【后端】特权令(同步冲突;及修改B209 B210 封包 为B211 B212) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py index d873b36..cd8d9f7 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -1779,6 +1779,12 @@ ("list", "AssistPlayerAward", 0), ), + "FuncSysPrivilege":( + ("BYTE", "FuncSysID", 1), + ("BYTE", "DayNum", 0), + ("list", "DayAwardItemInfo", 0), + ), + "HistoryRechargeAward":( ("BYTE", "ID", 1), ("float", "NeedRMB", 0), @@ -5462,6 +5468,19 @@ def GetRequestPlayerAward(self): return self.RequestPlayerAward # 发布奖励物品 物品ID|个数 def GetAssistPlayerAward(self): return self.AssistPlayerAward # 协助奖励物品 物品ID|个数 +# 功能特权奖励表 +class IPY_FuncSysPrivilege(): + + def __init__(self): + self.FuncSysID = 0 + self.DayNum = 0 + self.DayAwardItemInfo = [] + return + + def GetFuncSysID(self): return self.FuncSysID # 功能系统ID + def GetDayNum(self): return self.DayNum # 第X天 + def GetDayAwardItemInfo(self): return self.DayAwardItemInfo # 奖励物品信息 [[物品ID,个数,是否拍品], ...] + # 累计充值奖励表 class IPY_HistoryRechargeAward(): @@ -5861,6 +5880,8 @@ self.ipyHorsePetSkinLen = len(self.ipyHorsePetSkinCache) self.ipyAssistThanksGiftCache = self.__LoadFileData("AssistThanksGift", IPY_AssistThanksGift) self.ipyAssistThanksGiftLen = len(self.ipyAssistThanksGiftCache) + self.ipyFuncSysPrivilegeCache = self.__LoadFileData("FuncSysPrivilege", IPY_FuncSysPrivilege) + self.ipyFuncSysPrivilegeLen = len(self.ipyFuncSysPrivilegeCache) self.ipyHistoryRechargeAwardCache = self.__LoadFileData("HistoryRechargeAward", IPY_HistoryRechargeAward) self.ipyHistoryRechargeAwardLen = len(self.ipyHistoryRechargeAwardCache) Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict)) @@ -6391,6 +6412,8 @@ def GetHorsePetSkinByIndex(self, index): return self.ipyHorsePetSkinCache[index] def GetAssistThanksGiftCount(self): return self.ipyAssistThanksGiftLen def GetAssistThanksGiftByIndex(self, index): return self.ipyAssistThanksGiftCache[index] + def GetFuncSysPrivilegeCount(self): return self.ipyFuncSysPrivilegeLen + def GetFuncSysPrivilegeByIndex(self, index): return self.ipyFuncSysPrivilegeCache[index] def GetHistoryRechargeAwardCount(self): return self.ipyHistoryRechargeAwardLen def GetHistoryRechargeAwardByIndex(self, index): return self.ipyHistoryRechargeAwardCache[index] -- Gitblit v1.8.0