| | |
| | | ("DWORD", "CfgID", 1),
|
| | | ("char", "StartDate", 0),
|
| | | ("char", "EndDate", 0),
|
| | | ("BYTE", "ResetType", 0),
|
| | | ("WORD", "LVLimit", 0),
|
| | | ("BYTE", "CTGTypeEffValue", 0),
|
| | | ("BYTE", "TemplateID", 0),
|
| | | ),
|
| | |
|
| | | "ActGarbageTask":(
|
| | |
| | | ("list", "ProduceGarbageRateList", 0),
|
| | | ),
|
| | |
|
| | | "ActGarbageAward":(
|
| | | "ActXianXiaMJ":(
|
| | | ("DWORD", "CfgID", 1),
|
| | | ("char", "StartDate", 0),
|
| | | ("char", "EndDate", 0),
|
| | | ("BYTE", "ResetType", 0),
|
| | | ("WORD", "LVLimit", 0),
|
| | | ("list", "UseMoneyInfo", 0),
|
| | | ("BYTE", "TemplateID", 0),
|
| | | ),
|
| | |
|
| | | "ActXianXiaMJAward":(
|
| | | ("DWORD", "TemplateID", 1),
|
| | | ("BYTE", "AwardLibType", 0),
|
| | | ("BYTE", "AwardItemCount", 0),
|
| | |
| | | self.CfgID = 0
|
| | | self.StartDate = ""
|
| | | self.EndDate = ""
|
| | | self.ResetType = 0
|
| | | self.LVLimit = 0
|
| | | self.CTGTypeEffValue = 0
|
| | | self.TemplateID = 0 |
| | | return |
| | | |
| | | def GetCfgID(self): return self.CfgID # 配置ID
|
| | | def GetStartDate(self): return self.StartDate # 开启日期
|
| | | def GetEndDate(self): return self.EndDate # 结束日期
|
| | | def GetResetType(self): return self.ResetType # 重置类型,0-0点重置;1-5点重置
|
| | | def GetLVLimit(self): return self.LVLimit # 限制等级
|
| | | def GetCTGTypeEffValue(self): return self.CTGTypeEffValue # 充值有效类型值
|
| | | def GetTemplateID(self): return self.TemplateID # 模板ID |
| | | |
| | | # 垃圾分类任务产出表 |
| | | class IPY_ActGarbageTask(): |
| | |
| | | def GetAutoProduce(self): return self.AutoProduce # 自动产生垃圾
|
| | | def GetProduceGarbageRateList(self): return self.ProduceGarbageRateList # 随机产生垃圾概率饼图 |
| | | |
| | | # 垃圾分类环保奖池表 |
| | | class IPY_ActGarbageAward(): |
| | | # 仙匣秘境活动时间表 |
| | | class IPY_ActXianXiaMJ(): |
| | | |
| | | def __init__(self): |
| | | self.CfgID = 0
|
| | | self.StartDate = ""
|
| | | self.EndDate = ""
|
| | | self.ResetType = 0
|
| | | self.LVLimit = 0
|
| | | self.UseMoneyInfo = []
|
| | | self.TemplateID = 0 |
| | | return |
| | | |
| | | def GetCfgID(self): return self.CfgID # 配置ID
|
| | | def GetStartDate(self): return self.StartDate # 开启日期
|
| | | def GetEndDate(self): return self.EndDate # 结束日期
|
| | | def GetResetType(self): return self.ResetType # 重置类型,0-0点重置;1-5点重置
|
| | | def GetLVLimit(self): return self.LVLimit # 限制等级
|
| | | def GetUseMoneyInfo(self): return self.UseMoneyInfo # 消耗货币信息
|
| | | def GetTemplateID(self): return self.TemplateID # 模板ID |
| | | |
| | | # 仙匣秘境奖池表 |
| | | class IPY_ActXianXiaMJAward(): |
| | | |
| | | def __init__(self): |
| | | self.TemplateID = 0
|
| | |
| | | self.ipyActGarbageSortingLen = len(self.ipyActGarbageSortingCache)
|
| | | self.ipyActGarbageTaskCache = self.__LoadFileData("ActGarbageTask", IPY_ActGarbageTask)
|
| | | self.ipyActGarbageTaskLen = len(self.ipyActGarbageTaskCache)
|
| | | self.ipyActGarbageAwardCache = self.__LoadFileData("ActGarbageAward", IPY_ActGarbageAward)
|
| | | self.ipyActGarbageAwardLen = len(self.ipyActGarbageAwardCache)
|
| | | self.ipyActXianXiaMJCache = self.__LoadFileData("ActXianXiaMJ", IPY_ActXianXiaMJ)
|
| | | self.ipyActXianXiaMJLen = len(self.ipyActXianXiaMJCache)
|
| | | self.ipyActXianXiaMJAwardCache = self.__LoadFileData("ActXianXiaMJAward", IPY_ActXianXiaMJAward)
|
| | | self.ipyActXianXiaMJAwardLen = len(self.ipyActXianXiaMJAwardCache)
|
| | | self.ipyActHorsePetFeastCache = self.__LoadFileData("ActHorsePetFeast", IPY_ActHorsePetFeast)
|
| | | self.ipyActHorsePetFeastLen = len(self.ipyActHorsePetFeastCache)
|
| | | self.ipyActBossRebornCache = self.__LoadFileData("ActBossReborn", IPY_ActBossReborn)
|
| | |
| | | def GetActGarbageSortingByIndex(self, index): return self.ipyActGarbageSortingCache[index]
|
| | | def GetActGarbageTaskCount(self): return self.ipyActGarbageTaskLen
|
| | | def GetActGarbageTaskByIndex(self, index): return self.ipyActGarbageTaskCache[index]
|
| | | def GetActGarbageAwardCount(self): return self.ipyActGarbageAwardLen
|
| | | def GetActGarbageAwardByIndex(self, index): return self.ipyActGarbageAwardCache[index]
|
| | | def GetActXianXiaMJCount(self): return self.ipyActXianXiaMJLen
|
| | | def GetActXianXiaMJByIndex(self, index): return self.ipyActXianXiaMJCache[index]
|
| | | def GetActXianXiaMJAwardCount(self): return self.ipyActXianXiaMJAwardLen
|
| | | def GetActXianXiaMJAwardByIndex(self, index): return self.ipyActXianXiaMJAwardCache[index]
|
| | | def GetActHorsePetFeastCount(self): return self.ipyActHorsePetFeastLen
|
| | | def GetActHorsePetFeastByIndex(self, index): return self.ipyActHorsePetFeastCache[index]
|
| | | def GetActBossRebornCount(self): return self.ipyActBossRebornLen
|