| | |
| | | ("list", "CTGIDGroupList", 0),
|
| | | ),
|
| | |
|
| | | "ActManyDayRecharge":(
|
| | | ("DWORD", "CfgID", 1),
|
| | | ("char", "StartDate", 0),
|
| | | ("char", "EndDate", 0),
|
| | | ("WORD", "LVLimit", 0),
|
| | | ("WORD", "TemplateID", 0),
|
| | | ),
|
| | |
|
| | | "ActManyDayRechargeAward":(
|
| | | ("DWORD", "TemplateID", 1),
|
| | | ("DWORD", "NeedRecharge", 0),
|
| | | ("BYTE", "NeedDays", 0),
|
| | | ("BYTE", "AwardIndex", 0),
|
| | | ("dict", "AwardItemInfo", 0),
|
| | | ("char", "NotifyKey", 0),
|
| | | ),
|
| | |
|
| | | "MagicWeaponFB":(
|
| | | ("DWORD", "MWID", 1),
|
| | | ("BYTE", "LineID", 0),
|
| | |
| | | def GetLVLimit(self): return self.LVLimit # 限制等级
|
| | | def GetCTGIDGroupList(self): return self.CTGIDGroupList # 充值编号组列表 [[ctgID, ...], ...] |
| | | |
| | | # 多日连充活动表 |
| | | class IPY_ActManyDayRecharge(): |
| | | |
| | | def __init__(self): |
| | | self.CfgID = 0
|
| | | self.StartDate = ""
|
| | | self.EndDate = ""
|
| | | self.LVLimit = 0
|
| | | self.TemplateID = 0 |
| | | return |
| | | |
| | | def GetCfgID(self): return self.CfgID # 配置ID
|
| | | def GetStartDate(self): return self.StartDate # 开启日期
|
| | | def GetEndDate(self): return self.EndDate # 结束日期
|
| | | def GetLVLimit(self): return self.LVLimit # 限制等级
|
| | | def GetTemplateID(self): return self.TemplateID # 模板编号 |
| | | |
| | | # 多日连充模板表 |
| | | class IPY_ActManyDayRechargeAward(): |
| | | |
| | | def __init__(self): |
| | | self.TemplateID = 0
|
| | | self.NeedRecharge = 0
|
| | | self.NeedDays = 0
|
| | | self.AwardIndex = 0
|
| | | self.AwardItemInfo = {}
|
| | | self.NotifyKey = "" |
| | | return |
| | | |
| | | def GetTemplateID(self): return self.TemplateID # 模板ID
|
| | | def GetNeedRecharge(self): return self.NeedRecharge # 所需充值额度
|
| | | def GetNeedDays(self): return self.NeedDays # 所需充值天数
|
| | | def GetAwardIndex(self): return self.AwardIndex # 奖励索引
|
| | | def GetAwardItemInfo(self): return self.AwardItemInfo # 奖励物品信息 {世界等级范围:[[物品ID,个数,是否拍品], ...]}
|
| | | def GetNotifyKey(self): return self.NotifyKey # 广播 |
| | | |
| | | # 法宝副本表 |
| | | class IPY_MagicWeaponFB(): |
| | | |
| | |
| | | self.ipyRechargeRebateGoldTemplateLen = len(self.ipyRechargeRebateGoldTemplateCache)
|
| | | self.ipyActGrowupBuyCache = self.__LoadFileData("ActGrowupBuy", IPY_ActGrowupBuy)
|
| | | self.ipyActGrowupBuyLen = len(self.ipyActGrowupBuyCache)
|
| | | self.ipyActManyDayRechargeCache = self.__LoadFileData("ActManyDayRecharge", IPY_ActManyDayRecharge)
|
| | | self.ipyActManyDayRechargeLen = len(self.ipyActManyDayRechargeCache)
|
| | | self.ipyActManyDayRechargeAwardCache = self.__LoadFileData("ActManyDayRechargeAward", IPY_ActManyDayRechargeAward)
|
| | | self.ipyActManyDayRechargeAwardLen = len(self.ipyActManyDayRechargeAwardCache)
|
| | | self.ipyMagicWeaponFBCache = self.__LoadFileData("MagicWeaponFB", IPY_MagicWeaponFB)
|
| | | self.ipyMagicWeaponFBLen = len(self.ipyMagicWeaponFBCache)
|
| | | self.ipyIceLodeStarAwardCache = self.__LoadFileData("IceLodeStarAward", IPY_IceLodeStarAward)
|
| | |
| | | def GetRechargeRebateGoldTemplateByIndex(self, index): return self.ipyRechargeRebateGoldTemplateCache[index]
|
| | | def GetActGrowupBuyCount(self): return self.ipyActGrowupBuyLen
|
| | | def GetActGrowupBuyByIndex(self, index): return self.ipyActGrowupBuyCache[index]
|
| | | def GetActManyDayRechargeCount(self): return self.ipyActManyDayRechargeLen
|
| | | def GetActManyDayRechargeByIndex(self, index): return self.ipyActManyDayRechargeCache[index]
|
| | | def GetActManyDayRechargeAwardCount(self): return self.ipyActManyDayRechargeAwardLen
|
| | | def GetActManyDayRechargeAwardByIndex(self, index): return self.ipyActManyDayRechargeAwardCache[index]
|
| | | def GetMagicWeaponFBCount(self): return self.ipyMagicWeaponFBLen
|
| | | def GetMagicWeaponFBByIndex(self, index): return self.ipyMagicWeaponFBCache[index]
|
| | | def GetIceLodeStarAwardCount(self): return self.ipyIceLodeStarAwardLen
|