| | |
| | | ("BYTE", "PacketCnt", 0),
|
| | | ),
|
| | |
|
| | | "ActFeastRedPacketSucc":(
|
| | | ("BYTE", "FeastDay", 1),
|
| | | ("list", "FeastSuccIDList", 0),
|
| | | ),
|
| | |
|
| | | "NPCShow":(
|
| | | ("DWORD", "NPCID", 1),
|
| | | ("DWORD", "MapID", 1),
|
| | |
| | | ("DWORD", "Index", 1),
|
| | | ("DWORD", "NeedPoint", 0),
|
| | | ("dict", "Award", 0),
|
| | | ),
|
| | |
|
| | | "ZhuXianStoneAttr":(
|
| | | ("BYTE", "SuitType", 1),
|
| | | ("BYTE", "ShareSoneLV", 1),
|
| | | ("list", "AttrIDList", 0),
|
| | | ("list", "AttrValueList", 0),
|
| | | ),
|
| | | }
|
| | |
|
| | |
| | | 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(): |
| | | |
| | |
| | | def GetIndex(self): return self.Index # 索引
|
| | | def GetNeedPoint(self): return self.NeedPoint # 需要点数
|
| | | def GetAward(self): return self.Award # 奖励 {"职业":[[物品ID,个数,是否绑定],...], ...} |
| | | |
| | | # 诛仙宝石共鸣属性表 |
| | | class IPY_ZhuXianStoneAttr(): |
| | | |
| | | def __init__(self): |
| | | self.SuitType = 0
|
| | | self.ShareSoneLV = 0
|
| | | self.AttrIDList = []
|
| | | self.AttrValueList = [] |
| | | return |
| | | |
| | | def GetSuitType(self): return self.SuitType # 套装类型
|
| | | def GetShareSoneLV(self): return self.ShareSoneLV # 共鸣等级
|
| | | def GetAttrIDList(self): return self.AttrIDList # 属性ID列表
|
| | | def GetAttrValueList(self): return self.AttrValueList # 属性值列表 |
| | |
|
| | |
|
| | | def Log(msg, playerID=0, par=0):
|
| | |
| | | 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)
|
| | |
| | | self.ipyNewAllPeoplePartyLen = len(self.ipyNewAllPeoplePartyCache)
|
| | | self.ipyNewAllPeoplePartyAwardCache = self.__LoadFileData("NewAllPeoplePartyAward", IPY_NewAllPeoplePartyAward)
|
| | | self.ipyNewAllPeoplePartyAwardLen = len(self.ipyNewAllPeoplePartyAwardCache)
|
| | | self.ipyZhuXianStoneAttrCache = self.__LoadFileData("ZhuXianStoneAttr", IPY_ZhuXianStoneAttr)
|
| | | self.ipyZhuXianStoneAttrLen = len(self.ipyZhuXianStoneAttrCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | | Log("IPY_DataMgr InitOK!")
|
| | | return
|
| | |
| | | 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
|
| | |
| | | def GetNewAllPeoplePartyByIndex(self, index): return self.ipyNewAllPeoplePartyCache[index]
|
| | | def GetNewAllPeoplePartyAwardCount(self): return self.ipyNewAllPeoplePartyAwardLen
|
| | | def GetNewAllPeoplePartyAwardByIndex(self, index): return self.ipyNewAllPeoplePartyAwardCache[index]
|
| | | def GetZhuXianStoneAttrCount(self): return self.ipyZhuXianStoneAttrLen
|
| | | def GetZhuXianStoneAttrByIndex(self, index): return self.ipyZhuXianStoneAttrCache[index]
|
| | |
|
| | | IPYData = IPY_DataMgr()
|
| | | def IPY_Data(): return IPYData
|