| | |
| | | ("WORD", "SingleTimes", 0),
|
| | | ("list", "Reward", 0),
|
| | | ),
|
| | |
|
| | | "ZhuXianBoss":(
|
| | | ("DWORD", "NPCID", 0),
|
| | | ("BYTE", "LineID", 1),
|
| | | ("WORD", "KillTime", 0),
|
| | | ("WORD", "RealmLV", 0),
|
| | | ("DWORD", "ZhuXianScore", 0),
|
| | | ),
|
| | | }
|
| | |
|
| | | |
| | |
| | | def GetTotalTimes(self): return self.TotalTimes # 可完成的总次数,0表示不限次数
|
| | | def GetSingleTimes(self): return self.SingleTimes # 单次领奖需要的次数
|
| | | def GetReward(self): return self.Reward # 奖励物品 |
| | | |
| | | # 诛仙BOSS表 |
| | | class IPY_ZhuXianBoss(): |
| | | |
| | | def __init__(self): |
| | | self.NPCID = 0
|
| | | self.LineID = 0
|
| | | self.KillTime = 0
|
| | | self.RealmLV = 0
|
| | | self.ZhuXianScore = 0 |
| | | return |
| | | |
| | | def GetNPCID(self): return self.NPCID # ID
|
| | | def GetLineID(self): return self.LineID
|
| | | def GetKillTime(self): return self.KillTime # 击杀总时间秒
|
| | | def GetRealmLV(self): return self.RealmLV # 需要境界
|
| | | def GetZhuXianScore(self): return self.ZhuXianScore # 需要诛仙总评分 |
| | |
|
| | |
|
| | | def Log(msg, playerID=0, par=0):
|
| | |
| | | self.ipyActLoginAwardLen = len(self.ipyActLoginAwardCache)
|
| | | self.ipyLoginAwardCache = self.__LoadFileData("LoginAward", IPY_LoginAward)
|
| | | self.ipyLoginAwardLen = len(self.ipyLoginAwardCache)
|
| | | self.ipyZhuXianBossCache = self.__LoadFileData("ZhuXianBoss", IPY_ZhuXianBoss)
|
| | | self.ipyZhuXianBossLen = len(self.ipyZhuXianBossCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | | Log("IPY_DataMgr InitOK!")
|
| | | return
|
| | |
| | | def GetActLoginAwardByIndex(self, index): return self.ipyActLoginAwardCache[index]
|
| | | def GetLoginAwardCount(self): return self.ipyLoginAwardLen
|
| | | def GetLoginAwardByIndex(self, index): return self.ipyLoginAwardCache[index]
|
| | | def GetZhuXianBossCount(self): return self.ipyZhuXianBossLen
|
| | | def GetZhuXianBossByIndex(self, index): return self.ipyZhuXianBossCache[index]
|
| | |
|
| | | IPYData = IPY_DataMgr()
|
| | | def IPY_Data(): return IPYData
|