| | |
| | | ("DWORD", "Weight", 0),
|
| | | ("DWORD", "Mark", 0),
|
| | | ),
|
| | |
|
| | | "FunctionForecast":(
|
| | | ("DWORD", "FuncID", 1),
|
| | | ("dict", "Award", 0),
|
| | | ),
|
| | | }
|
| | |
|
| | | |
| | |
| | | def GetIsBind(self): return self.IsBind # 是否绑定
|
| | | def GetWeight(self): return self.Weight # 权重
|
| | | def GetMark(self): return self.Mark # 排序用标识 |
| | | |
| | | # 功能预告表 |
| | | class IPY_FunctionForecast(): |
| | | |
| | | def __init__(self): |
| | | self.FuncID = 0
|
| | | self.Award = {} |
| | | return |
| | | |
| | | def GetFuncID(self): return self.FuncID # 功能ID
|
| | | def GetAward(self): return self.Award # 属性类型 |
| | |
|
| | |
|
| | | def Log(msg, playerID=0, par=0):
|
| | |
| | | self.ipyActWishingWellLen = len(self.ipyActWishingWellCache)
|
| | | self.ipyWishingWellCache = self.__LoadFileData("WishingWell", IPY_WishingWell)
|
| | | self.ipyWishingWellLen = len(self.ipyWishingWellCache)
|
| | | self.ipyFunctionForecastCache = self.__LoadFileData("FunctionForecast", IPY_FunctionForecast)
|
| | | self.ipyFunctionForecastLen = len(self.ipyFunctionForecastCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | | Log("IPY_DataMgr InitOK!")
|
| | | return
|
| | |
| | | def GetActWishingWellByIndex(self, index): return self.ipyActWishingWellCache[index]
|
| | | def GetWishingWellCount(self): return self.ipyWishingWellLen
|
| | | def GetWishingWellByIndex(self, index): return self.ipyWishingWellCache[index]
|
| | | def GetFunctionForecastCount(self): return self.ipyFunctionForecastLen
|
| | | def GetFunctionForecastByIndex(self, index): return self.ipyFunctionForecastCache[index]
|
| | |
|
| | | IPYData = IPY_DataMgr()
|
| | | def IPY_Data(): return IPYData
|