|  |  |  | 
|---|
|  |  |  | ("char", "NotifyKey", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActTurntable":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("char", "StartDate", 0), | 
|---|
|  |  |  | ("char", "EndDate", 0), | 
|---|
|  |  |  | ("WORD", "LVLimit", 0), | 
|---|
|  |  |  | ("BYTE", "IsDayReset", 0), | 
|---|
|  |  |  | ("BYTE", "CTGTypeEffValue", 0), | 
|---|
|  |  |  | ("list", "CTGPrizeList", 0), | 
|---|
|  |  |  | ("list", "UseGoldPrizeList", 0), | 
|---|
|  |  |  | ("list", "LibChooseCountList", 0), | 
|---|
|  |  |  | ("list", "SuperItemLimitRule", 0), | 
|---|
|  |  |  | ("dict", "CommItemLib", 0), | 
|---|
|  |  |  | ("dict", "GoodItemLib", 0), | 
|---|
|  |  |  | ("dict", "SuperItemLib", 0), | 
|---|
|  |  |  | ("char", "WorldNotifyKey", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActSingleRecharge":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("char", "StartDate", 0), | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetAwardItemInfo(self): return self.AwardItemInfo # 奖励物品信息  {世界等级范围:[[物品ID,个数,是否拍品], ...]} | 
|---|
|  |  |  | def GetNotifyKey(self): return self.NotifyKey # 广播 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 转盘活动表 | 
|---|
|  |  |  | class IPY_ActTurntable(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __init__(self): | 
|---|
|  |  |  | self.CfgID = 0 | 
|---|
|  |  |  | self.StartDate = "" | 
|---|
|  |  |  | self.EndDate = "" | 
|---|
|  |  |  | self.LVLimit = 0 | 
|---|
|  |  |  | self.IsDayReset = 0 | 
|---|
|  |  |  | self.CTGTypeEffValue = 0 | 
|---|
|  |  |  | self.CTGPrizeList = [] | 
|---|
|  |  |  | self.UseGoldPrizeList = [] | 
|---|
|  |  |  | self.LibChooseCountList = [] | 
|---|
|  |  |  | self.SuperItemLimitRule = [] | 
|---|
|  |  |  | self.CommItemLib = {} | 
|---|
|  |  |  | self.GoodItemLib = {} | 
|---|
|  |  |  | self.SuperItemLib = {} | 
|---|
|  |  |  | self.WorldNotifyKey = "" | 
|---|
|  |  |  | 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 GetIsDayReset(self): return self.IsDayReset # 是否每天重置 | 
|---|
|  |  |  | def GetCTGTypeEffValue(self): return self.CTGTypeEffValue # 充值有效类型值 | 
|---|
|  |  |  | def GetCTGPrizeList(self): return self.CTGPrizeList # 累计充值奖励次数 | 
|---|
|  |  |  | def GetUseGoldPrizeList(self): return self.UseGoldPrizeList # 累计消费X仙玉奖励次数 | 
|---|
|  |  |  | def GetLibChooseCountList(self): return self.LibChooseCountList # 各道具库选择个数 | 
|---|
|  |  |  | def GetSuperItemLimitRule(self): return self.SuperItemLimitRule # 终极库产出万分率|至少X次后可产出 | 
|---|
|  |  |  | def GetCommItemLib(self): return self.CommItemLib # 普通道具库 {(世界等级A,世界等级B):[[可选物品ID, 个数, 是否拍品], ...], ...} | 
|---|
|  |  |  | def GetGoodItemLib(self): return self.GoodItemLib # 极品道具库 {(世界等级A,世界等级B):[[可选物品ID, 个数, 是否拍品], ...], ...} | 
|---|
|  |  |  | def GetSuperItemLib(self): return self.SuperItemLib # 超级道具库 {(世界等级A,世界等级B):[[可选物品ID, 个数, 是否拍品], ...], ...} | 
|---|
|  |  |  | def GetWorldNotifyKey(self): return self.WorldNotifyKey # 好物品全服广播mark,极品及超级道具默认全服广播 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 单笔累充活动表 | 
|---|
|  |  |  | class IPY_ActSingleRecharge(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | self.ipyActManyDayRechargeLen = len(self.ipyActManyDayRechargeCache) | 
|---|
|  |  |  | self.ipyActManyDayRechargeAwardCache = self.__LoadFileData("ActManyDayRechargeAward", IPY_ActManyDayRechargeAward) | 
|---|
|  |  |  | self.ipyActManyDayRechargeAwardLen = len(self.ipyActManyDayRechargeAwardCache) | 
|---|
|  |  |  | self.ipyActTurntableCache = self.__LoadFileData("ActTurntable", IPY_ActTurntable) | 
|---|
|  |  |  | self.ipyActTurntableLen = len(self.ipyActTurntableCache) | 
|---|
|  |  |  | self.ipyActSingleRechargeCache = self.__LoadFileData("ActSingleRecharge", IPY_ActSingleRecharge) | 
|---|
|  |  |  | self.ipyActSingleRechargeLen = len(self.ipyActSingleRechargeCache) | 
|---|
|  |  |  | self.ipyActSingleRechargeAwardCache = self.__LoadFileData("ActSingleRechargeAward", IPY_ActSingleRechargeAward) | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetActManyDayRechargeByIndex(self, index): return self.ipyActManyDayRechargeCache[index] | 
|---|
|  |  |  | def GetActManyDayRechargeAwardCount(self): return self.ipyActManyDayRechargeAwardLen | 
|---|
|  |  |  | def GetActManyDayRechargeAwardByIndex(self, index): return self.ipyActManyDayRechargeAwardCache[index] | 
|---|
|  |  |  | def GetActTurntableCount(self): return self.ipyActTurntableLen | 
|---|
|  |  |  | def GetActTurntableByIndex(self, index): return self.ipyActTurntableCache[index] | 
|---|
|  |  |  | def GetActSingleRechargeCount(self): return self.ipyActSingleRechargeLen | 
|---|
|  |  |  | def GetActSingleRechargeByIndex(self, index): return self.ipyActSingleRechargeCache[index] | 
|---|
|  |  |  | def GetActSingleRechargeAwardCount(self): return self.ipyActSingleRechargeAwardLen | 
|---|