From 94bb5ab94e98fb616137f9c143e702aae10df8a6 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 17 七月 2019 14:32:17 +0800
Subject: [PATCH] 8125 子 【主干】新功能:累计充值 / 【后端】【主干】累计充值

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
index 02e6f9b..2b6a61a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -1491,6 +1491,12 @@
                         ("DWORD", "IsSuite", 1),
                         ("DWORD", "Rate", 0),
                         ),
+
+                "HistoryRechargeAward":(
+                        ("BYTE", "ID", 1),
+                        ("DWORD", "Recharge", 0),
+                        ("dict", "Reward", 0),
+                        ),
                 }
 
 
@@ -4547,7 +4553,7 @@
     def GetAttrInfo(self): return self.AttrInfo # 属性
     def GetSkinIndex(self): return self.SkinIndex # 外观
 
-# 骑宠幻化表
+# 装备升星概率表
 class IPY_EquipStarUpRate():
     
     def __init__(self):
@@ -4563,6 +4569,19 @@
     def GetEquipPlace(self): return self.EquipPlace # 部位
     def GetIsSuite(self): return self.IsSuite # 是否套装
     def GetRate(self): return self.Rate # 概率
+
+# 累计充值奖励表
+class IPY_HistoryRechargeAward():
+    
+    def __init__(self):
+        self.ID = 0
+        self.Recharge = 0
+        self.Reward = {}
+        return
+        
+    def GetID(self): return self.ID # id
+    def GetRecharge(self): return self.Recharge # 所需充值元
+    def GetReward(self): return self.Reward # 职业对应的奖励内容,每个职业4组数据,物品ID和物品数量(1.枪豪2.道师3.剑修)
 
 
 def Log(msg, playerID=0, par=0):
@@ -4888,6 +4907,8 @@
         self.ipyHorsePetSkinLen = len(self.ipyHorsePetSkinCache)
         self.ipyEquipStarUpRateCache = self.__LoadFileData("EquipStarUpRate", IPY_EquipStarUpRate)
         self.ipyEquipStarUpRateLen = len(self.ipyEquipStarUpRateCache)
+        self.ipyHistoryRechargeAwardCache = self.__LoadFileData("HistoryRechargeAward", IPY_HistoryRechargeAward)
+        self.ipyHistoryRechargeAwardLen = len(self.ipyHistoryRechargeAwardCache)
         Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
         Log("IPY_DataMgr InitOK!")
         return
@@ -5354,6 +5375,8 @@
     def GetHorsePetSkinByIndex(self, index): return self.ipyHorsePetSkinCache[index]
     def GetEquipStarUpRateCount(self): return self.ipyEquipStarUpRateLen
     def GetEquipStarUpRateByIndex(self, index): return self.ipyEquipStarUpRateCache[index]
+    def GetHistoryRechargeAwardCount(self): return self.ipyHistoryRechargeAwardLen
+    def GetHistoryRechargeAwardByIndex(self, index): return self.ipyHistoryRechargeAwardCache[index]
 
 IPYData = IPY_DataMgr()
 def IPY_Data(): return IPYData

--
Gitblit v1.8.0