From bf78ded072f95e416e9f272813ec5c5cc7040a50 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 22 十二月 2020 11:35:00 +0800 Subject: [PATCH] 8665 【主干】【后端】移植-成长特惠; (BT单: 8611 【BT】成长必买;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 26 ++++++++++++++++++++++++++ 1 files changed, 26 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 5e1b168..5bb5621 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -1289,6 +1289,13 @@ ("char", "NotifyKey", 0), ), + "ActGrowupBuy":( + ("DWORD", "CfgID", 1), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("list", "CTGIDGroupList", 0), + ), + "MagicWeaponFB":( ("DWORD", "MWID", 1), ("BYTE", "LineID", 0), @@ -4288,6 +4295,21 @@ def GetAwardItem(self): return self.AwardItem # 返利物品信息列表 {职业:[(物品ID,个数,是否绑定),...]} def GetNotifyKey(self): return self.NotifyKey # 全服广播key,默认两个参数(玩家名, 档位额度) +# 成长必买活动表 +class IPY_ActGrowupBuy(): + + def __init__(self): + self.CfgID = 0 + self.StartDate = "" + self.EndDate = "" + self.CTGIDGroupList = [] + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetCTGIDGroupList(self): return self.CTGIDGroupList # 充值编号组列表 [[ctgID, ...], ...] + # 法宝副本表 class IPY_MagicWeaponFB(): @@ -5323,6 +5345,8 @@ self.ipyActTotalRechargeLen = len(self.ipyActTotalRechargeCache) self.ipyTotalRechargeTemplateCache = self.__LoadFileData("TotalRechargeTemplate", IPY_TotalRechargeTemplate) self.ipyTotalRechargeTemplateLen = len(self.ipyTotalRechargeTemplateCache) + self.ipyActGrowupBuyCache = self.__LoadFileData("ActGrowupBuy", IPY_ActGrowupBuy) + self.ipyActGrowupBuyLen = len(self.ipyActGrowupBuyCache) self.ipyMagicWeaponFBCache = self.__LoadFileData("MagicWeaponFB", IPY_MagicWeaponFB) self.ipyMagicWeaponFBLen = len(self.ipyMagicWeaponFBCache) self.ipyIceLodeStarAwardCache = self.__LoadFileData("IceLodeStarAward", IPY_IceLodeStarAward) @@ -5821,6 +5845,8 @@ def GetActTotalRechargeByIndex(self, index): return self.ipyActTotalRechargeCache[index] def GetTotalRechargeTemplateCount(self): return self.ipyTotalRechargeTemplateLen def GetTotalRechargeTemplateByIndex(self, index): return self.ipyTotalRechargeTemplateCache[index] + def GetActGrowupBuyCount(self): return self.ipyActGrowupBuyLen + def GetActGrowupBuyByIndex(self, index): return self.ipyActGrowupBuyCache[index] def GetMagicWeaponFBCount(self): return self.ipyMagicWeaponFBLen def GetMagicWeaponFBByIndex(self, index): return self.ipyMagicWeaponFBCache[index] def GetIceLodeStarAwardCount(self): return self.ipyIceLodeStarAwardLen -- Gitblit v1.8.0