|  |  |  | 
|---|
|  |  |  | ("dict", "ItemAwardTimesTotalInfo", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActGodGift":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("char", "StartDate", 0), | 
|---|
|  |  |  | ("char", "EndDate", 0), | 
|---|
|  |  |  | ("BYTE", "IsDayReset", 0), | 
|---|
|  |  |  | ("WORD", "LVLimit", 0), | 
|---|
|  |  |  | ("list", "UseGoldList", 0), | 
|---|
|  |  |  | ("list", "PrizeMoneyList", 0), | 
|---|
|  |  |  | ("BYTE", "ResetLimitTimes", 0), | 
|---|
|  |  |  | ("BYTE", "ResetCountMax", 0), | 
|---|
|  |  |  | ("dict", "TemplateIDInfo", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActGodGiftAward":( | 
|---|
|  |  |  | ("DWORD", "TemplateID", 1), | 
|---|
|  |  |  | ("BYTE", "AwardLibType", 0), | 
|---|
|  |  |  | ("BYTE", "UnlockAwardLimitTimes", 0), | 
|---|
|  |  |  | ("BYTE", "ChooseItemCount", 0), | 
|---|
|  |  |  | ("dict", "LibItemInfo", 0), | 
|---|
|  |  |  | ("list", "NotifyItemNumList", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "ActHorsePetFeast":( | 
|---|
|  |  |  | ("DWORD", "CfgID", 1), | 
|---|
|  |  |  | ("char", "StartDate", 0), | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetItemLayerLimitInfo(self): return self.ItemLayerLimitInfo # 物品产出奖池层限制 {物品ID:大于等于X层可产出, ...} | 
|---|
|  |  |  | def GetItemAwardTimesTotalInfo(self): return self.ItemAwardTimesTotalInfo # 物品产出次数限制(所有层){物品ID:总产出次数, ...} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 天帝礼包活动时间表 | 
|---|
|  |  |  | class IPY_ActGodGift(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __init__(self): | 
|---|
|  |  |  | self.CfgID = 0 | 
|---|
|  |  |  | self.StartDate = "" | 
|---|
|  |  |  | self.EndDate = "" | 
|---|
|  |  |  | self.IsDayReset = 0 | 
|---|
|  |  |  | self.LVLimit = 0 | 
|---|
|  |  |  | self.UseGoldList = [] | 
|---|
|  |  |  | self.PrizeMoneyList = [] | 
|---|
|  |  |  | self.ResetLimitTimes = 0 | 
|---|
|  |  |  | self.ResetCountMax = 0 | 
|---|
|  |  |  | self.TemplateIDInfo = {} | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def GetCfgID(self): return self.CfgID # 配置ID | 
|---|
|  |  |  | def GetStartDate(self): return self.StartDate # 开启日期 | 
|---|
|  |  |  | def GetEndDate(self): return self.EndDate # 结束日期 | 
|---|
|  |  |  | def GetIsDayReset(self): return self.IsDayReset # 是否每天重置 | 
|---|
|  |  |  | def GetLVLimit(self): return self.LVLimit # 限制等级 | 
|---|
|  |  |  | def GetUseGoldList(self): return self.UseGoldList # 抽奖消耗仙玉列表 | 
|---|
|  |  |  | def GetPrizeMoneyList(self): return self.PrizeMoneyList # 奖励灵石列表 | 
|---|
|  |  |  | def GetResetLimitTimes(self): return self.ResetLimitTimes # 至少抽几次可重置 | 
|---|
|  |  |  | def GetResetCountMax(self): return self.ResetCountMax # 可重置次数 | 
|---|
|  |  |  | def GetTemplateIDInfo(self): return self.TemplateIDInfo # 奖池模板信息 {(世界等级A,B):[模板编号列表, ...], ...} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 天帝礼包奖池表 | 
|---|
|  |  |  | class IPY_ActGodGiftAward(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __init__(self): | 
|---|
|  |  |  | self.TemplateID = 0 | 
|---|
|  |  |  | self.AwardLibType = 0 | 
|---|
|  |  |  | self.UnlockAwardLimitTimes = 0 | 
|---|
|  |  |  | self.ChooseItemCount = 0 | 
|---|
|  |  |  | self.LibItemInfo = {} | 
|---|
|  |  |  | self.NotifyItemNumList = [] | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def GetTemplateID(self): return self.TemplateID # 奖池模板编号 | 
|---|
|  |  |  | def GetAwardLibType(self): return self.AwardLibType # 奖励库类型 | 
|---|
|  |  |  | def GetUnlockAwardLimitTimes(self): return self.UnlockAwardLimitTimes # 抽X次后可产出本库 | 
|---|
|  |  |  | def GetChooseItemCount(self): return self.ChooseItemCount # 选择个数 | 
|---|
|  |  |  | def GetLibItemInfo(self): return self.LibItemInfo # 物品编号对应物品信息 {物品编号:[物品ID,个数,是否拍品,可选次数], ...}  0不限次数 | 
|---|
|  |  |  | def GetNotifyItemNumList(self): return self.NotifyItemNumList # 需要广播的编号列表 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 骑宠盛宴活动 | 
|---|
|  |  |  | class IPY_ActHorsePetFeast(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | self.ipyActXianXiaMJLen = len(self.ipyActXianXiaMJCache) | 
|---|
|  |  |  | self.ipyActXianXiaMJAwardCache = self.__LoadFileData("ActXianXiaMJAward", IPY_ActXianXiaMJAward) | 
|---|
|  |  |  | self.ipyActXianXiaMJAwardLen = len(self.ipyActXianXiaMJAwardCache) | 
|---|
|  |  |  | self.ipyActGodGiftCache = self.__LoadFileData("ActGodGift", IPY_ActGodGift) | 
|---|
|  |  |  | self.ipyActGodGiftLen = len(self.ipyActGodGiftCache) | 
|---|
|  |  |  | self.ipyActGodGiftAwardCache = self.__LoadFileData("ActGodGiftAward", IPY_ActGodGiftAward) | 
|---|
|  |  |  | self.ipyActGodGiftAwardLen = len(self.ipyActGodGiftAwardCache) | 
|---|
|  |  |  | self.ipyActHorsePetFeastCache = self.__LoadFileData("ActHorsePetFeast", IPY_ActHorsePetFeast) | 
|---|
|  |  |  | self.ipyActHorsePetFeastLen = len(self.ipyActHorsePetFeastCache) | 
|---|
|  |  |  | self.ipyActBossRebornCache = self.__LoadFileData("ActBossReborn", IPY_ActBossReborn) | 
|---|
|  |  |  | 
|---|
|  |  |  | def GetActXianXiaMJByIndex(self, index): return self.ipyActXianXiaMJCache[index] | 
|---|
|  |  |  | def GetActXianXiaMJAwardCount(self): return self.ipyActXianXiaMJAwardLen | 
|---|
|  |  |  | def GetActXianXiaMJAwardByIndex(self, index): return self.ipyActXianXiaMJAwardCache[index] | 
|---|
|  |  |  | def GetActGodGiftCount(self): return self.ipyActGodGiftLen | 
|---|
|  |  |  | def GetActGodGiftByIndex(self, index): return self.ipyActGodGiftCache[index] | 
|---|
|  |  |  | def GetActGodGiftAwardCount(self): return self.ipyActGodGiftAwardLen | 
|---|
|  |  |  | def GetActGodGiftAwardByIndex(self, index): return self.ipyActGodGiftAwardCache[index] | 
|---|
|  |  |  | def GetActHorsePetFeastCount(self): return self.ipyActHorsePetFeastLen | 
|---|
|  |  |  | def GetActHorsePetFeastByIndex(self, index): return self.ipyActHorsePetFeastCache[index] | 
|---|
|  |  |  | def GetActBossRebornCount(self): return self.ipyActBossRebornLen | 
|---|