| | |
| | | ("DWORD", "FightPower", 0),
|
| | | ("BYTE", "IsNotify", 0),
|
| | | ),
|
| | |
|
| | | "LingGenEffect":(
|
| | | ("DWORD", "ID", 0),
|
| | | ("DWORD", "PointID", 1),
|
| | | ("BYTE", "QualityLV", 1),
|
| | | ),
|
| | | }
|
| | |
|
| | | |
| | |
| | | def GetNeedLV(self): return self.NeedLV # 要求等级
|
| | | def GetFightPower(self): return self.FightPower # 推荐战力
|
| | | def GetIsNotify(self): return self.IsNotify # 是否广播 |
| | | |
| | | # 灵根特效表 |
| | | class IPY_LingGenEffect(): |
| | | |
| | | def __init__(self): |
| | | self.ID = 0
|
| | | self.PointID = 0
|
| | | self.QualityLV = 0 |
| | | return |
| | | |
| | | def GetID(self): return self.ID # ΨһID
|
| | | def GetPointID(self): return self.PointID # 灵根ID
|
| | | def GetQualityLV(self): return self.QualityLV # 品级 |
| | |
|
| | |
|
| | | def Log(msg, playerID=0, par=0):
|
| | |
| | | self.ipySkillElementLen = len(self.ipySkillElementCache)
|
| | | self.ipySkyTowerCache = self.__LoadFileData("SkyTower", IPY_SkyTower)
|
| | | self.ipySkyTowerLen = len(self.ipySkyTowerCache)
|
| | | self.ipyLingGenEffectCache = self.__LoadFileData("LingGenEffect", IPY_LingGenEffect)
|
| | | self.ipyLingGenEffectLen = len(self.ipyLingGenEffectCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | | Log("IPY_DataMgr InitOK!")
|
| | | return
|
| | |
| | | def GetSkillElementByIndex(self, index): return self.ipySkillElementCache[index]
|
| | | def GetSkyTowerCount(self): return self.ipySkyTowerLen
|
| | | def GetSkyTowerByIndex(self, index): return self.ipySkyTowerCache[index]
|
| | | def GetLingGenEffectCount(self): return self.ipyLingGenEffectLen
|
| | | def GetLingGenEffectByIndex(self, index): return self.ipyLingGenEffectCache[index]
|
| | |
|
| | | IPYData = IPY_DataMgr()
|
| | | def IPY_Data(): return IPYData
|