| | |
| | | ("list", "ZLRewardItemListH", 0),
|
| | | ),
|
| | |
|
| | | "Xiangong":(
|
| | | ("WORD", "XiangongID", 1),
|
| | | ),
|
| | |
|
| | | "TiandaoTree":(
|
| | | ("WORD", "AwardIndex", 1),
|
| | | ("DWORD", "NeedQiyun", 0),
|
| | | ("list", "AwardItemList", 0),
|
| | | ),
|
| | |
|
| | | "TreeLV":(
|
| | | ("BYTE", "TreeLV", 1),
|
| | | ("DWORD", "LVUPNeedMoney", 0),
|
| | |
| | | def GetZLRewardItemList(self): return self.attrTuple[4] # 战令奖励物品列表 [[物品ID,个数,是否拍品],...] list
|
| | | def GetZLRewardItemListH(self): return self.attrTuple[5] # 高级战令奖励物品列表 [[物品ID,个数,是否拍品],...] list |
| | | |
| | | # 仙宫表 |
| | | class IPY_Xiangong(): |
| | | |
| | | def __init__(self): |
| | | self.attrTuple = None |
| | | return |
| | | |
| | | def GetXiangongID(self): return self.attrTuple[0] # 仙宫ID WORD |
| | | |
| | | # 仙宫天道树 |
| | | class IPY_TiandaoTree(): |
| | | |
| | | def __init__(self): |
| | | self.attrTuple = None |
| | | return |
| | | |
| | | def GetAwardIndex(self): return self.attrTuple[0] # 奖励索引 WORD
|
| | | def GetNeedQiyun(self): return self.attrTuple[1] # 所需气运值 DWORD
|
| | | def GetAwardItemList(self): return self.attrTuple[2] # 奖励物品列表 list |
| | | |
| | | # 仙树等级表 |
| | | class IPY_TreeLV(): |
| | | |
| | |
| | | self.__LoadFileData("HistoryRechargeAward", onlyCheck)
|
| | | self.__LoadFileData("CustomAward", onlyCheck)
|
| | | self.__LoadFileData("Zhanling", onlyCheck)
|
| | | self.__LoadFileData("Xiangong", onlyCheck)
|
| | | self.__LoadFileData("TiandaoTree", onlyCheck)
|
| | | self.__LoadFileData("TreeLV", onlyCheck)
|
| | | self.__LoadFileData("AlineInvade", onlyCheck)
|
| | | Log("IPY_DataMgr ReloadOK! onlyCheck=%s" % onlyCheck)
|
| | |
| | | self.CheckLoadData("Zhanling") |
| | | return self.ipyZhanlingCache[index]
|
| | | |
| | | def GetXiangongCount(self): |
| | | self.CheckLoadData("Xiangong") |
| | | return self.ipyXiangongLen
|
| | | def GetXiangongByIndex(self, index): |
| | | self.CheckLoadData("Xiangong") |
| | | return self.ipyXiangongCache[index]
|
| | | |
| | | def GetTiandaoTreeCount(self): |
| | | self.CheckLoadData("TiandaoTree") |
| | | return self.ipyTiandaoTreeLen
|
| | | def GetTiandaoTreeByIndex(self, index): |
| | | self.CheckLoadData("TiandaoTree") |
| | | return self.ipyTiandaoTreeCache[index]
|
| | | |
| | | def GetTreeLVCount(self): |
| | | self.CheckLoadData("TreeLV") |
| | | return self.ipyTreeLVLen
|