| | |
| | | ("DWORD", "EventID", 0),
|
| | | ("list", "Award", 0),
|
| | | ),
|
| | |
|
| | | "FBBuyBuff":(
|
| | | ("DWORD", "MapId", 1),
|
| | | ("WORD", "MoneyCnt", 1),
|
| | | ("DWORD", "BuffID", 0),
|
| | | ("WORD", "BuffCD", 0),
|
| | | ),
|
| | | }
|
| | |
|
| | | |
| | |
| | | def GetCnt(self): return self.Cnt # 次数
|
| | | def GetEventID(self): return self.EventID # 事件编号
|
| | | def GetAward(self): return self.Award # 定制奖励(没配走正常奖励规则)[[物品ID,数量,是否拍品],..] |
| | | |
| | | # 副本Buff表 |
| | | class IPY_FBBuyBuff(): |
| | | |
| | | def __init__(self): |
| | | self.MapId = 0
|
| | | self.MoneyCnt = 0
|
| | | self.BuffID = 0
|
| | | self.BuffCD = 0 |
| | | return |
| | | |
| | | def GetMapId(self): return self.MapId # |
| | | def GetMoneyCnt(self): return self.MoneyCnt # 仙玉数量
|
| | | def GetBuffID(self): return self.BuffID # BuffID
|
| | | def GetBuffCD(self): return self.BuffCD # 间隔时间s |
| | |
|
| | |
|
| | | def Log(msg, playerID=0, par=0):
|
| | |
| | | self.ipyFairyAdventuresLen = len(self.ipyFairyAdventuresCache)
|
| | | self.ipyFairyDomainAppointCache = self.__LoadFileData("FairyDomainAppoint", IPY_FairyDomainAppoint)
|
| | | self.ipyFairyDomainAppointLen = len(self.ipyFairyDomainAppointCache)
|
| | | self.ipyFBBuyBuffCache = self.__LoadFileData("FBBuyBuff", IPY_FBBuyBuff)
|
| | | self.ipyFBBuyBuffLen = len(self.ipyFBBuyBuffCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | | Log("IPY_DataMgr InitOK!")
|
| | | return
|
| | |
| | | def GetFairyAdventuresByIndex(self, index): return self.ipyFairyAdventuresCache[index]
|
| | | def GetFairyDomainAppointCount(self): return self.ipyFairyDomainAppointLen
|
| | | def GetFairyDomainAppointByIndex(self, index): return self.ipyFairyDomainAppointCache[index]
|
| | | def GetFBBuyBuffCount(self): return self.ipyFBBuyBuffLen
|
| | | def GetFBBuyBuffByIndex(self, index): return self.ipyFBBuyBuffCache[index]
|
| | |
|
| | | IPYData = IPY_DataMgr()
|
| | | def IPY_Data(): return IPYData
|