| | |
| | | ("BYTE", "IsDayReset", 0),
|
| | | ),
|
| | |
|
| | | "ActFamilyCTGAssist":(
|
| | | ("DWORD", "CfgID", 1),
|
| | | ("list", "PlatformList", 0),
|
| | | ("list", "ServerGroupIDList", 0),
|
| | | ("BYTE", "ActNum", 0),
|
| | | ("char", "StartDate", 0),
|
| | | ("char", "EndDate", 0),
|
| | | ("dict", "NotifyInfoStart", 0),
|
| | | ("dict", "NotifyInfoEnd", 0),
|
| | | ("list", "NotifyInfoLoop", 0),
|
| | | ("BYTE", "IsDayReset", 0),
|
| | | ),
|
| | |
|
| | | "ActCollectWords":(
|
| | | ("DWORD", "CfgID", 1),
|
| | | ("list", "PlatformList", 0),
|
| | |
| | | ),
|
| | |
|
| | | "CrossZoneComm":(
|
| | | ("char", "CrossZoneName", 1),
|
| | | ("BYTE", "ZoneID", 1),
|
| | | ("list", "ServerGroupIDList", 0),
|
| | | ),
|
| | |
|
| | | "CrossZoneBattlefield":(
|
| | | ("char", "CrossZoneName", 1),
|
| | | ("BYTE", "ZoneID", 1),
|
| | | ("list", "ServerGroupIDList", 0),
|
| | |
| | | "AssistThanksGift":(
|
| | | ("DWORD", "GiftID", 1),
|
| | | ("BYTE", "AssistAwardCount", 0),
|
| | | ),
|
| | |
|
| | | "Worship":(
|
| | | ("BYTE", "WorshipType", 1),
|
| | | ("DWORD", "WorshipValue", 1),
|
| | | ("BYTE", "WorshipDays", 0),
|
| | | ("BYTE", "MoneyType", 0),
|
| | | ("list", "MoneyRange", 0),
|
| | | ),
|
| | |
|
| | | "FairyDomain":(
|
| | |
| | | def GetNotifyInfoLoop(self): return self.attrTuple[8] # 全服提示信息 - 循环广播[间隔分钟, 广播key] list
|
| | | def GetIsDayReset(self): return self.attrTuple[9] # 是否每天重置 BYTE |
| | | |
| | | # 仙盟充值协助活动表 |
| | | class IPY_ActFamilyCTGAssist(): |
| | | |
| | | def __init__(self): |
| | | self.attrTuple = None |
| | | return |
| | | |
| | | def GetCfgID(self): return self.attrTuple[0] # 配置ID DWORD
|
| | | def GetPlatformList(self): return self.attrTuple[1] # 活动平台列表["平台A", "平台A", ...],配[]代表所有 list
|
| | | def GetServerGroupIDList(self): return self.attrTuple[2] # 服务器ID列表 list
|
| | | def GetActNum(self): return self.attrTuple[3] # 活动分组编号, 活动类型 * 10 + 不同界面编号 BYTE
|
| | | def GetStartDate(self): return self.attrTuple[4] # 开启日期 char
|
| | | def GetEndDate(self): return self.attrTuple[5] # 结束日期 char
|
| | | def GetNotifyInfoStart(self): return self.attrTuple[6] # 全服提示信息 - 相对开始时间 dict
|
| | | def GetNotifyInfoEnd(self): return self.attrTuple[7] # 全服提示信息 - 相对结束时间 dict
|
| | | def GetNotifyInfoLoop(self): return self.attrTuple[8] # 全服提示信息 - 循环广播[间隔分钟, 广播key] list
|
| | | def GetIsDayReset(self): return self.attrTuple[9] # 是否每天重置 BYTE |
| | | |
| | | # 集字活动时间表 |
| | | class IPY_ActCollectWords(): |
| | | |
| | |
| | | |
| | | # 跨服分区表通用 |
| | | class IPY_CrossZoneComm(): |
| | | |
| | | def __init__(self): |
| | | self.attrTuple = None |
| | | return |
| | | |
| | | def GetCrossZoneName(self): return self.attrTuple[0] # 跨服分区名 char
|
| | | def GetZoneID(self): return self.attrTuple[1] # 赛区ID BYTE
|
| | | def GetServerGroupIDList(self): return self.attrTuple[2] # 赛区服务器组ID列表 list |
| | | |
| | | # 跨服分区表古神战场 |
| | | class IPY_CrossZoneBattlefield(): |
| | | |
| | | def __init__(self): |
| | | self.attrTuple = None |
| | |
| | | def GetGiftID(self): return self.attrTuple[0] # 礼盒物品ID DWORD
|
| | | def GetAssistAwardCount(self): return self.attrTuple[1] # 协助奖励每日次数 BYTE |
| | | |
| | | # 膜拜表 |
| | | class IPY_Worship(): |
| | | |
| | | def __init__(self): |
| | | self.attrTuple = None |
| | | return |
| | | |
| | | def GetWorshipType(self): return self.attrTuple[0] # 膜拜类型 BYTE
|
| | | def GetWorshipValue(self): return self.attrTuple[1] # 膜拜值 DWORD
|
| | | def GetWorshipDays(self): return self.attrTuple[2] # 膜拜天数 BYTE
|
| | | def GetMoneyType(self): return self.attrTuple[3] # 膜拜货币类型 BYTE
|
| | | def GetMoneyRange(self): return self.attrTuple[4] # 货币值范围 list |
| | | |
| | | # 缥缈仙域表 |
| | | class IPY_FairyDomain(): |
| | | |
| | |
| | | self.__LoadFileData("ActExpRate", onlyCheck)
|
| | | self.__LoadFileData("ActCostRebate", onlyCheck)
|
| | | self.__LoadFileData("ActBuyOne", onlyCheck)
|
| | | self.__LoadFileData("ActFamilyCTGAssist", onlyCheck)
|
| | | self.__LoadFileData("ActCollectWords", onlyCheck)
|
| | | self.__LoadFileData("ActGarbageSorting", onlyCheck)
|
| | | self.__LoadFileData("ActBossTrial", onlyCheck)
|
| | |
| | | self.__LoadFileData("ActManyDayRecharge", onlyCheck)
|
| | | self.__LoadFileData("ActTotalRecharge", onlyCheck)
|
| | | self.__LoadFileData("CrossZoneComm", onlyCheck)
|
| | | self.__LoadFileData("CrossZoneBattlefield", onlyCheck)
|
| | | self.__LoadFileData("CrossZonePK", onlyCheck)
|
| | | self.__LoadFileData("ChampionshipTime", onlyCheck)
|
| | | self.__LoadFileData("ChampionshipRank", onlyCheck)
|
| | |
| | | self.__LoadFileData("MineAreaItem", onlyCheck)
|
| | | self.__LoadFileData("FamilyWarRankAward", onlyCheck)
|
| | | self.__LoadFileData("AssistThanksGift", onlyCheck)
|
| | | self.__LoadFileData("Worship", onlyCheck)
|
| | | self.__LoadFileData("FairyDomain", onlyCheck)
|
| | | Log("IPY_DataMgr ReloadOK! onlyCheck=%s" % onlyCheck)
|
| | | return
|
| | |
| | | self.CheckLoadData("ActBuyOne") |
| | | return self.ipyActBuyOneCache[index]
|
| | | |
| | | def GetActFamilyCTGAssistCount(self): |
| | | self.CheckLoadData("ActFamilyCTGAssist") |
| | | return self.ipyActFamilyCTGAssistLen
|
| | | def GetActFamilyCTGAssistByIndex(self, index): |
| | | self.CheckLoadData("ActFamilyCTGAssist") |
| | | return self.ipyActFamilyCTGAssistCache[index]
|
| | | |
| | | def GetActCollectWordsCount(self): |
| | | self.CheckLoadData("ActCollectWords") |
| | | return self.ipyActCollectWordsLen
|
| | |
| | | def GetCrossZoneCommByIndex(self, index): |
| | | self.CheckLoadData("CrossZoneComm") |
| | | return self.ipyCrossZoneCommCache[index]
|
| | | |
| | | def GetCrossZoneBattlefieldCount(self): |
| | | self.CheckLoadData("CrossZoneBattlefield") |
| | | return self.ipyCrossZoneBattlefieldLen
|
| | | def GetCrossZoneBattlefieldByIndex(self, index): |
| | | self.CheckLoadData("CrossZoneBattlefield") |
| | | return self.ipyCrossZoneBattlefieldCache[index]
|
| | | |
| | | def GetCrossZonePKCount(self): |
| | | self.CheckLoadData("CrossZonePK") |
| | |
| | | self.CheckLoadData("AssistThanksGift") |
| | | return self.ipyAssistThanksGiftCache[index]
|
| | | |
| | | def GetWorshipCount(self): |
| | | self.CheckLoadData("Worship") |
| | | return self.ipyWorshipLen
|
| | | def GetWorshipByIndex(self, index): |
| | | self.CheckLoadData("Worship") |
| | | return self.ipyWorshipCache[index]
|
| | | |
| | | def GetFairyDomainCount(self): |
| | | self.CheckLoadData("FairyDomain") |
| | | return self.ipyFairyDomainLen
|