From ed70a10c9930216ebc72713e37e21cb1d33349e2 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 10 十二月 2019 18:08:07 +0800 Subject: [PATCH] 8346 【恺英】【后端】协助系统(增加协助感谢礼盒表) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py index b5de14f..9ec7ba6 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/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] -- Gitblit v1.8.0