|  |  |  | 
|---|
|  |  |  | ("BYTE", "IsDayReset", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActCollectWords":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("char", "ActMark", 0), | 
|---|
|  |  |  | ("list", "PlatformList", 0), | 
|---|
|  |  |  | ("list", "ServerGroupIDList", 0), | 
|---|
|  |  |  | ("char", "StartDate", 0), | 
|---|
|  |  |  | ("char", "EndDate", 0), | 
|---|
|  |  |  | ("dict", "NotifyInfoStart", 0), | 
|---|
|  |  |  | ("dict", "NotifyInfoEnd", 0), | 
|---|
|  |  |  | ("list", "NotifyInfoLoop", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActCollectWords2":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("char", "ActMark", 0), | 
|---|
|  |  |  | ("list", "PlatformList", 0), | 
|---|
|  |  |  | ("list", "ServerGroupIDList", 0), | 
|---|
|  |  |  | ("char", "StartDate", 0), | 
|---|
|  |  |  | ("char", "EndDate", 0), | 
|---|
|  |  |  | ("dict", "NotifyInfoStart", 0), | 
|---|
|  |  |  | ("dict", "NotifyInfoEnd", 0), | 
|---|
|  |  |  | ("list", "NotifyInfoLoop", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActBossReborn":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("list", "ServerGroupIDList", 0), | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] | 
|---|
|  |  |  | def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 集字活动时间表 | 
|---|
|  |  |  | class IPY_ActCollectWords(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __init__(self): | 
|---|
|  |  |  | self.CfgID = 0 | 
|---|
|  |  |  | self.ActMark = "" | 
|---|
|  |  |  | self.PlatformList = [] | 
|---|
|  |  |  | self.ServerGroupIDList = [] | 
|---|
|  |  |  | self.StartDate = "" | 
|---|
|  |  |  | self.EndDate = "" | 
|---|
|  |  |  | self.NotifyInfoStart = {} | 
|---|
|  |  |  | self.NotifyInfoEnd = {} | 
|---|
|  |  |  | self.NotifyInfoLoop = [] | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def GetCfgID(self): return self.CfgID # 配置ID | 
|---|
|  |  |  | def GetActMark(self): return self.ActMark # 活动组标记 | 
|---|
|  |  |  | def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有 | 
|---|
|  |  |  | def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表 | 
|---|
|  |  |  | def GetStartDate(self): return self.StartDate # 开启日期 | 
|---|
|  |  |  | def GetEndDate(self): return self.EndDate # 结束日期 | 
|---|
|  |  |  | def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 | 
|---|
|  |  |  | def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 | 
|---|
|  |  |  | def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 集字活动时间表2 | 
|---|
|  |  |  | class IPY_ActCollectWords2(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __init__(self): | 
|---|
|  |  |  | self.CfgID = 0 | 
|---|
|  |  |  | self.ActMark = "" | 
|---|
|  |  |  | self.PlatformList = [] | 
|---|
|  |  |  | self.ServerGroupIDList = [] | 
|---|
|  |  |  | self.StartDate = "" | 
|---|
|  |  |  | self.EndDate = "" | 
|---|
|  |  |  | self.NotifyInfoStart = {} | 
|---|
|  |  |  | self.NotifyInfoEnd = {} | 
|---|
|  |  |  | self.NotifyInfoLoop = [] | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def GetCfgID(self): return self.CfgID # 配置ID | 
|---|
|  |  |  | def GetActMark(self): return self.ActMark # 活动组标记 | 
|---|
|  |  |  | def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有 | 
|---|
|  |  |  | def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表 | 
|---|
|  |  |  | def GetStartDate(self): return self.StartDate # 开启日期 | 
|---|
|  |  |  | def GetEndDate(self): return self.EndDate # 结束日期 | 
|---|
|  |  |  | def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 | 
|---|
|  |  |  | def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 | 
|---|
|  |  |  | def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # BOSS复活活动时间表 | 
|---|
|  |  |  | class IPY_ActBossReborn(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | self.ipyActExpRateLen = len(self.ipyActExpRateCache) | 
|---|
|  |  |  | self.ipyActCostRebateCache = self.__LoadFileData("ActCostRebate", IPY_ActCostRebate) | 
|---|
|  |  |  | self.ipyActCostRebateLen = len(self.ipyActCostRebateCache) | 
|---|
|  |  |  | self.ipyActCollectWordsCache = self.__LoadFileData("ActCollectWords", IPY_ActCollectWords) | 
|---|
|  |  |  | self.ipyActCollectWordsLen = len(self.ipyActCollectWordsCache) | 
|---|
|  |  |  | self.ipyActCollectWords2Cache = self.__LoadFileData("ActCollectWords2", IPY_ActCollectWords2) | 
|---|
|  |  |  | self.ipyActCollectWords2Len = len(self.ipyActCollectWords2Cache) | 
|---|
|  |  |  | self.ipyActBossRebornCache = self.__LoadFileData("ActBossReborn", IPY_ActBossReborn) | 
|---|
|  |  |  | self.ipyActBossRebornLen = len(self.ipyActBossRebornCache) | 
|---|
|  |  |  | self.ipyActFairyCeremonyCache = self.__LoadFileData("ActFairyCeremony", IPY_ActFairyCeremony) | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetActExpRateByIndex(self, index): return self.ipyActExpRateCache[index] | 
|---|
|  |  |  | def GetActCostRebateCount(self): return self.ipyActCostRebateLen | 
|---|
|  |  |  | def GetActCostRebateByIndex(self, index): return self.ipyActCostRebateCache[index] | 
|---|
|  |  |  | def GetActCollectWordsCount(self): return self.ipyActCollectWordsLen | 
|---|
|  |  |  | def GetActCollectWordsByIndex(self, index): return self.ipyActCollectWordsCache[index] | 
|---|
|  |  |  | def GetActCollectWords2Count(self): return self.ipyActCollectWords2Len | 
|---|
|  |  |  | def GetActCollectWords2ByIndex(self, index): return self.ipyActCollectWords2Cache[index] | 
|---|
|  |  |  | def GetActBossRebornCount(self): return self.ipyActBossRebornLen | 
|---|
|  |  |  | def GetActBossRebornByIndex(self, index): return self.ipyActBossRebornCache[index] | 
|---|
|  |  |  | def GetActFairyCeremonyCount(self): return self.ipyActFairyCeremonyLen | 
|---|