| | |
| | | ("BYTE", "SkinIndex", 0),
|
| | | ),
|
| | |
|
| | | "AssistThanksGift":(
|
| | | ("DWORD", "GiftID", 1),
|
| | | ("list", "RequestPlayerAward", 0),
|
| | | ("list", "AssistPlayerAward", 0),
|
| | | ),
|
| | |
|
| | | "HistoryRechargeAward":(
|
| | | ("BYTE", "ID", 1),
|
| | | ("DWORD", "Recharge", 0),
|
| | |
| | | def GetAttrInfo(self): return self.AttrInfo # 属性
|
| | | def GetSkinIndex(self): return self.SkinIndex # 外观 |
| | | |
| | | # 协助感谢礼盒表 |
| | | class IPY_AssistThanksGift(): |
| | | |
| | | def __init__(self): |
| | | self.GiftID = 0
|
| | | self.RequestPlayerAward = []
|
| | | self.AssistPlayerAward = [] |
| | | return |
| | | |
| | | def GetGiftID(self): return self.GiftID # 礼盒物品ID
|
| | | def GetRequestPlayerAward(self): return self.RequestPlayerAward # 发布奖励物品 物品ID|个数
|
| | | def GetAssistPlayerAward(self): return self.AssistPlayerAward # 协助奖励物品 物品ID|个数 |
| | | |
| | | # 累计充值奖励表 |
| | | class IPY_HistoryRechargeAward(): |
| | | |
| | |
| | | self.ipyLingGenEffectLen = len(self.ipyLingGenEffectCache)
|
| | | self.ipyHorsePetSkinCache = self.__LoadFileData("HorsePetSkin", IPY_HorsePetSkin)
|
| | | self.ipyHorsePetSkinLen = len(self.ipyHorsePetSkinCache)
|
| | | self.ipyAssistThanksGiftCache = self.__LoadFileData("AssistThanksGift", IPY_AssistThanksGift)
|
| | | self.ipyAssistThanksGiftLen = len(self.ipyAssistThanksGiftCache)
|
| | | self.ipyHistoryRechargeAwardCache = self.__LoadFileData("HistoryRechargeAward", IPY_HistoryRechargeAward)
|
| | | self.ipyHistoryRechargeAwardLen = len(self.ipyHistoryRechargeAwardCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | |
| | | def GetLingGenEffectByIndex(self, index): return self.ipyLingGenEffectCache[index]
|
| | | def GetHorsePetSkinCount(self): return self.ipyHorsePetSkinLen
|
| | | def GetHorsePetSkinByIndex(self, index): return self.ipyHorsePetSkinCache[index]
|
| | | def GetAssistThanksGiftCount(self): return self.ipyAssistThanksGiftLen
|
| | | def GetAssistThanksGiftByIndex(self, index): return self.ipyAssistThanksGiftCache[index]
|
| | | def GetHistoryRechargeAwardCount(self): return self.ipyHistoryRechargeAwardLen
|
| | | def GetHistoryRechargeAwardByIndex(self, index): return self.ipyHistoryRechargeAwardCache[index]
|
| | |
|