| | |
| | | ("list", "AssistPlayerAward", 0),
|
| | | ),
|
| | |
|
| | | "FuncSysPrivilege":(
|
| | | ("BYTE", "FuncSysID", 1),
|
| | | ("BYTE", "DayNum", 0),
|
| | | ("list", "DayAwardItemInfo", 0),
|
| | | ),
|
| | |
|
| | | "HistoryRechargeAward":(
|
| | | ("BYTE", "ID", 1),
|
| | | ("float", "NeedRMB", 0),
|
| | |
| | | def GetRequestPlayerAward(self): return self.RequestPlayerAward # 发布奖励物品 物品ID|个数
|
| | | def GetAssistPlayerAward(self): return self.AssistPlayerAward # 协助奖励物品 物品ID|个数 |
| | | |
| | | # 功能特权奖励表 |
| | | class IPY_FuncSysPrivilege(): |
| | | |
| | | def __init__(self): |
| | | self.FuncSysID = 0
|
| | | self.DayNum = 0
|
| | | self.DayAwardItemInfo = [] |
| | | return |
| | | |
| | | def GetFuncSysID(self): return self.FuncSysID # 功能系统ID
|
| | | def GetDayNum(self): return self.DayNum # 第X天
|
| | | def GetDayAwardItemInfo(self): return self.DayAwardItemInfo # 奖励物品信息 [[物品ID,个数,是否拍品], ...] |
| | | |
| | | # 累计充值奖励表 |
| | | class IPY_HistoryRechargeAward(): |
| | | |
| | |
| | | self.ipyHorsePetSkinLen = len(self.ipyHorsePetSkinCache)
|
| | | self.ipyAssistThanksGiftCache = self.__LoadFileData("AssistThanksGift", IPY_AssistThanksGift)
|
| | | self.ipyAssistThanksGiftLen = len(self.ipyAssistThanksGiftCache)
|
| | | self.ipyFuncSysPrivilegeCache = self.__LoadFileData("FuncSysPrivilege", IPY_FuncSysPrivilege)
|
| | | self.ipyFuncSysPrivilegeLen = len(self.ipyFuncSysPrivilegeCache)
|
| | | self.ipyHistoryRechargeAwardCache = self.__LoadFileData("HistoryRechargeAward", IPY_HistoryRechargeAward)
|
| | | self.ipyHistoryRechargeAwardLen = len(self.ipyHistoryRechargeAwardCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | |
| | | def GetHorsePetSkinByIndex(self, index): return self.ipyHorsePetSkinCache[index]
|
| | | def GetAssistThanksGiftCount(self): return self.ipyAssistThanksGiftLen
|
| | | def GetAssistThanksGiftByIndex(self, index): return self.ipyAssistThanksGiftCache[index]
|
| | | def GetFuncSysPrivilegeCount(self): return self.ipyFuncSysPrivilegeLen
|
| | | def GetFuncSysPrivilegeByIndex(self, index): return self.ipyFuncSysPrivilegeCache[index]
|
| | | def GetHistoryRechargeAwardCount(self): return self.ipyHistoryRechargeAwardLen
|
| | | def GetHistoryRechargeAwardByIndex(self, index): return self.ipyHistoryRechargeAwardCache[index]
|
| | |
|