hxp
2019-12-10 ed70a10c9930216ebc72713e37e21cb1d33349e2
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -1539,6 +1539,12 @@
                        ("BYTE", "SkinIndex", 0),
                        ),
                "AssistThanksGift":(
                        ("DWORD", "GiftID", 1),
                        ("list", "RequestPlayerAward", 0),
                        ("list", "AssistPlayerAward", 0),
                        ),
                "HistoryRechargeAward":(
                        ("BYTE", "ID", 1),
                        ("DWORD", "Recharge", 0),
@@ -4713,6 +4719,19 @@
    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():
    
@@ -5054,6 +5073,8 @@
        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))
@@ -5526,6 +5547,8 @@
    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]