| | |
| | | ("DWORD", "StarAddPer", 0),
|
| | | ("list", "BookActAwardMoney", 0),
|
| | | ("list", "DismissReturnItems", 0),
|
| | | ("list", "BeautyReturnItems", 0),
|
| | | ("list", "RecommendAwardMoney", 0),
|
| | | ),
|
| | |
|
| | |
| | | ("dict", "Attr", 0),
|
| | | ),
|
| | |
|
| | | "QunyingCross":(
|
| | | ("char", "AppID", 1),
|
| | | ("WORD", "ZoneID", 1),
|
| | | ("DWORD", "CrossServerID", 0),
|
| | | ("list", "ServerIDList", 0),
|
| | | ("BYTE", "SplitServerCnt", 0),
|
| | | ("BYTE", "MatchServerCnt", 0),
|
| | | ),
|
| | |
|
| | | "FamilyCross":(
|
| | | ("char", "AppID", 1),
|
| | | ("WORD", "ZoneID", 1),
|
| | |
| | | "Robot":(
|
| | | ("DWORD", "ID", 1),
|
| | | ("char", "RobotName", 0),
|
| | | ("BYTE", "RealmLV", 0),
|
| | | ("DWORD", "TempNum", 0),
|
| | | ("DWORD", "TempValue1", 0),
|
| | | ("DWORD", "TempValue2", 0),
|
| | | ("char", "ViewCache", 0),
|
| | | ),
|
| | | }
|
| | |
| | | def GetStarAddPer(self): return self.attrTuple[6] # 卡牌每星级加成 DWORD
|
| | | def GetBookActAwardMoney(self): return self.attrTuple[7] # 图鉴激活奖励货币 类型|值 list
|
| | | def GetDismissReturnItems(self): return self.attrTuple[8] # 遣散每星返还道具 [[物品ID,个数], ...] list
|
| | | def GetRecommendAwardMoney(self): return self.attrTuple[9] # 阵容推荐激活奖励货币 类型|值 list |
| | | def GetBeautyReturnItems(self): return self.attrTuple[9] # 红颜效果返还道具基数 [[物品ID,个数], ...] list
|
| | | def GetRecommendAwardMoney(self): return self.attrTuple[10] # 阵容推荐激活奖励货币 类型|值 list |
| | | |
| | | # 武将品质突破表 |
| | | class IPY_HeroQualityBreak(): |
| | |
| | | def GetCostItem(self): return self.attrTuple[3] # 消耗材料 dict
|
| | | def GetAttr(self): return self.attrTuple[4] # 属性 dict |
| | | |
| | | # 群英榜分区表 |
| | | class IPY_QunyingCross(): |
| | | |
| | | def __init__(self): |
| | | self.attrTuple = None |
| | | return |
| | | |
| | | def GetAppID(self): return self.attrTuple[0] # AppID char
|
| | | def GetZoneID(self): return self.attrTuple[1] # 分区ID WORD
|
| | | def GetCrossServerID(self): return self.attrTuple[2] # 跨服服务器ID DWORD
|
| | | def GetServerIDList(self): return self.attrTuple[3] # 互通服务器ID列表 list
|
| | | def GetSplitServerCnt(self): return self.attrTuple[4] # 按X个相邻服分割 BYTE
|
| | | def GetMatchServerCnt(self): return self.attrTuple[5] # 分割区服内X个服随机匹配一组 BYTE |
| | | |
| | | # 跨服公会表 |
| | | class IPY_FamilyCross(): |
| | | |
| | |
| | | |
| | | def GetID(self): return self.attrTuple[0] # 机器人ID,同玩家ID DWORD
|
| | | def GetRobotName(self): return self.attrTuple[1] # char
|
| | | def GetViewCache(self): return self.attrTuple[2] # 机器人缓存 char |
| | | def GetRealmLV(self): return self.attrTuple[2] # 指定官职 BYTE
|
| | | def GetTempNum(self): return self.attrTuple[3] # 功能模版 DWORD
|
| | | def GetTempValue1(self): return self.attrTuple[4] # 功能值1 DWORD
|
| | | def GetTempValue2(self): return self.attrTuple[5] # 功能值2 DWORD
|
| | | def GetViewCache(self): return self.attrTuple[6] # 机器人缓存 char |
| | |
|
| | |
|
| | | def Log(msg, playerID=0, par=0):
|
| | |
| | | self.__LoadFileData("EquipShenEvolve", onlyCheck)
|
| | | self.__LoadFileData("EquipStarUp", onlyCheck)
|
| | | self.__LoadFileData("EquipPlusEvolve", onlyCheck)
|
| | | self.__LoadFileData("QunyingCross", onlyCheck)
|
| | | self.__LoadFileData("FamilyCross", onlyCheck)
|
| | | self.__LoadFileData("Family", onlyCheck)
|
| | | self.__LoadFileData("FamilyEmblem", onlyCheck)
|
| | |
| | | self.CheckLoadData("EquipPlusEvolve") |
| | | return self.ipyEquipPlusEvolveCache[index]
|
| | | |
| | | def GetQunyingCrossCount(self): |
| | | self.CheckLoadData("QunyingCross") |
| | | return self.ipyQunyingCrossLen
|
| | | def GetQunyingCrossByIndex(self, index): |
| | | self.CheckLoadData("QunyingCross") |
| | | return self.ipyQunyingCrossCache[index]
|
| | | |
| | | def GetFamilyCrossCount(self): |
| | | self.CheckLoadData("FamilyCross") |
| | | return self.ipyFamilyCrossLen
|