|  |  |  | 
|---|
|  |  |  | ("list", "NotifyInfoLoop", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActFeastTravel":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("char", "ActMark", 0), | 
|---|
|  |  |  | ("list", "PlatformList", 0), | 
|---|
|  |  |  | ("list", "ServerGroupIDList", 0), | 
|---|
|  |  |  | ("char", "StartDate", 0), | 
|---|
|  |  |  | ("char", "EndDate", 0), | 
|---|
|  |  |  | ("BYTE", "ResetType", 0), | 
|---|
|  |  |  | ("dict", "NotifyInfoStart", 0), | 
|---|
|  |  |  | ("dict", "NotifyInfoEnd", 0), | 
|---|
|  |  |  | ("list", "NotifyInfoLoop", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "FuncOpenLV":( | 
|---|
|  |  |  | ("DWORD", "FuncId", 1), | 
|---|
|  |  |  | ("DWORD", "LimitLV", 0), | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 节日祝福时间表 | 
|---|
|  |  |  | class IPY_ActFeastWish(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __init__(self): | 
|---|
|  |  |  | self.CfgID = 0 | 
|---|
|  |  |  | self.ActMark = "" | 
|---|
|  |  |  | self.PlatformList = [] | 
|---|
|  |  |  | self.ServerGroupIDList = [] | 
|---|
|  |  |  | self.StartDate = "" | 
|---|
|  |  |  | self.EndDate = "" | 
|---|
|  |  |  | self.ResetType = 0 | 
|---|
|  |  |  | 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 GetResetType(self): return self.ResetType # 重置类型,0-0点重置;1-5点重置 | 
|---|
|  |  |  | def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间 | 
|---|
|  |  |  | def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间 | 
|---|
|  |  |  | def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key] | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 节日游历时间表 | 
|---|
|  |  |  | class IPY_ActFeastTravel(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __init__(self): | 
|---|
|  |  |  | self.CfgID = 0 | 
|---|
|  |  |  | 
|---|
|  |  |  | self.ipyActFeastLoginLen = len(self.ipyActFeastLoginCache) | 
|---|
|  |  |  | self.ipyActFeastWishCache = self.__LoadFileData("ActFeastWish", IPY_ActFeastWish) | 
|---|
|  |  |  | self.ipyActFeastWishLen = len(self.ipyActFeastWishCache) | 
|---|
|  |  |  | self.ipyActFeastTravelCache = self.__LoadFileData("ActFeastTravel", IPY_ActFeastTravel) | 
|---|
|  |  |  | self.ipyActFeastTravelLen = len(self.ipyActFeastTravelCache) | 
|---|
|  |  |  | self.ipyFuncOpenLVCache = self.__LoadFileData("FuncOpenLV", IPY_FuncOpenLV) | 
|---|
|  |  |  | self.ipyFuncOpenLVLen = len(self.ipyFuncOpenLVCache) | 
|---|
|  |  |  | self.ipyChinNPCCache = self.__LoadFileData("ChinNPC", IPY_ChinNPC) | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetActFeastLoginByIndex(self, index): return self.ipyActFeastLoginCache[index] | 
|---|
|  |  |  | def GetActFeastWishCount(self): return self.ipyActFeastWishLen | 
|---|
|  |  |  | def GetActFeastWishByIndex(self, index): return self.ipyActFeastWishCache[index] | 
|---|
|  |  |  | def GetActFeastTravelCount(self): return self.ipyActFeastTravelLen | 
|---|
|  |  |  | def GetActFeastTravelByIndex(self, index): return self.ipyActFeastTravelCache[index] | 
|---|
|  |  |  | def GetFuncOpenLVCount(self): return self.ipyFuncOpenLVLen | 
|---|
|  |  |  | def GetFuncOpenLVByIndex(self, index): return self.ipyFuncOpenLVCache[index] | 
|---|
|  |  |  | def GetChinNPCCount(self): return self.ipyChinNPCLen | 
|---|