| | |
| | | ("BYTE", "PacketCnt", 0),
|
| | | ),
|
| | |
|
| | | "ActFeastRedPacketSucc":(
|
| | | ("BYTE", "FeastDay", 1),
|
| | | ("list", "FeastSuccIDList", 0),
|
| | | ),
|
| | |
|
| | | "NPCShow":(
|
| | | ("DWORD", "NPCID", 1),
|
| | | ("DWORD", "MapID", 1),
|
| | |
| | | def GetMoneyType(self): return self.MoneyType # 金钱类型
|
| | | def GetPacketCnt(self): return self.PacketCnt # 红包个数 |
| | | |
| | | # 节日红包每日成就表 |
| | | class IPY_ActFeastRedPacketSucc(): |
| | | |
| | | def __init__(self): |
| | | self.FeastDay = 0
|
| | | self.FeastSuccIDList = [] |
| | | return |
| | | |
| | | def GetFeastDay(self): return self.FeastDay # 节日第几天
|
| | | def GetFeastSuccIDList(self): return self.FeastSuccIDList # 成就ID列表 |
| | | |
| | | # NPC秀表 |
| | | class IPY_NPCShow(): |
| | | |
| | |
| | | self.ipyFamilyActivityLen = len(self.ipyFamilyActivityCache)
|
| | | self.ipyFamilyRedPackCache = self.__LoadFileData("FamilyRedPack", IPY_FamilyRedPack)
|
| | | self.ipyFamilyRedPackLen = len(self.ipyFamilyRedPackCache)
|
| | | self.ipyActFeastRedPacketSuccCache = self.__LoadFileData("ActFeastRedPacketSucc", IPY_ActFeastRedPacketSucc)
|
| | | self.ipyActFeastRedPacketSuccLen = len(self.ipyActFeastRedPacketSuccCache)
|
| | | self.ipyNPCShowCache = self.__LoadFileData("NPCShow", IPY_NPCShow)
|
| | | self.ipyNPCShowLen = len(self.ipyNPCShowCache)
|
| | | self.ipySealDemonCache = self.__LoadFileData("SealDemon", IPY_SealDemon)
|
| | |
| | | def GetFamilyActivityByIndex(self, index): return self.ipyFamilyActivityCache[index]
|
| | | def GetFamilyRedPackCount(self): return self.ipyFamilyRedPackLen
|
| | | def GetFamilyRedPackByIndex(self, index): return self.ipyFamilyRedPackCache[index]
|
| | | def GetActFeastRedPacketSuccCount(self): return self.ipyActFeastRedPacketSuccLen
|
| | | def GetActFeastRedPacketSuccByIndex(self, index): return self.ipyActFeastRedPacketSuccCache[index]
|
| | | def GetNPCShowCount(self): return self.ipyNPCShowLen
|
| | | def GetNPCShowByIndex(self, index): return self.ipyNPCShowCache[index]
|
| | | def GetSealDemonCount(self): return self.ipySealDemonLen
|