|  |  |  | 
|---|
|  |  |  | ("BYTE", "IsDayReset", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActTurntable":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("list", "PlatformList", 0), | 
|---|
|  |  |  | ("list", "ServerGroupIDList", 0), | 
|---|
|  |  |  | ("BYTE", "ActNum", 0), | 
|---|
|  |  |  | ("char", "StartDate", 0), | 
|---|
|  |  |  | ("char", "EndDate", 0), | 
|---|
|  |  |  | ("BYTE", "IsDayReset", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActManyDayRecharge":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("list", "PlatformList", 0), | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] | 
|---|
|  |  |  | def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 转盘活动表 | 
|---|
|  |  |  | class IPY_ActTurntable(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __init__(self): | 
|---|
|  |  |  | self.CfgID = 0 | 
|---|
|  |  |  | self.PlatformList = [] | 
|---|
|  |  |  | self.ServerGroupIDList = [] | 
|---|
|  |  |  | self.ActNum = 0 | 
|---|
|  |  |  | self.StartDate = "" | 
|---|
|  |  |  | self.EndDate = "" | 
|---|
|  |  |  | self.IsDayReset = 0 | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def GetCfgID(self): return self.CfgID # 配置ID | 
|---|
|  |  |  | def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有 | 
|---|
|  |  |  | def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表 | 
|---|
|  |  |  | def GetActNum(self): return self.ActNum # 活动分组编号, 活动类型 * 10 + 不同界面编号 | 
|---|
|  |  |  | def GetStartDate(self): return self.StartDate # 开启日期 | 
|---|
|  |  |  | def GetEndDate(self): return self.EndDate # 结束日期 | 
|---|
|  |  |  | def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 多日连充活动表 | 
|---|
|  |  |  | class IPY_ActManyDayRecharge(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | self.ipyActGrowupBuyLen = len(self.ipyActGrowupBuyCache) | 
|---|
|  |  |  | self.ipyActSingleRechargeCache = self.__LoadFileData("ActSingleRecharge", IPY_ActSingleRecharge) | 
|---|
|  |  |  | self.ipyActSingleRechargeLen = len(self.ipyActSingleRechargeCache) | 
|---|
|  |  |  | self.ipyActTurntableCache = self.__LoadFileData("ActTurntable", IPY_ActTurntable) | 
|---|
|  |  |  | self.ipyActTurntableLen = len(self.ipyActTurntableCache) | 
|---|
|  |  |  | self.ipyActManyDayRechargeCache = self.__LoadFileData("ActManyDayRecharge", IPY_ActManyDayRecharge) | 
|---|
|  |  |  | self.ipyActManyDayRechargeLen = len(self.ipyActManyDayRechargeCache) | 
|---|
|  |  |  | self.ipyActTotalRechargeCache = self.__LoadFileData("ActTotalRecharge", IPY_ActTotalRecharge) | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetActGrowupBuyByIndex(self, index): return self.ipyActGrowupBuyCache[index] | 
|---|
|  |  |  | def GetActSingleRechargeCount(self): return self.ipyActSingleRechargeLen | 
|---|
|  |  |  | def GetActSingleRechargeByIndex(self, index): return self.ipyActSingleRechargeCache[index] | 
|---|
|  |  |  | def GetActTurntableCount(self): return self.ipyActTurntableLen | 
|---|
|  |  |  | def GetActTurntableByIndex(self, index): return self.ipyActTurntableCache[index] | 
|---|
|  |  |  | def GetActManyDayRechargeCount(self): return self.ipyActManyDayRechargeLen | 
|---|
|  |  |  | def GetActManyDayRechargeByIndex(self, index): return self.ipyActManyDayRechargeCache[index] | 
|---|
|  |  |  | def GetActTotalRechargeCount(self): return self.ipyActTotalRechargeLen | 
|---|