From 2f0b528212b205b3ea462cba86ec3a36e40ef11e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 03 六月 2024 17:54:14 +0800
Subject: [PATCH] 10173 【主干】【香港】【越南】BOSS凭证(新增新版登录活动)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 56 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 aab9f51..4c8f02a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -1838,6 +1838,21 @@
                         ("WORD", "Point", 0),
                         ),
 
+                "ActLoginNew":(
+                        ("DWORD", "CfgID", 1),
+                        ("char", "StartDate", 0),
+                        ("char", "EndDate", 0),
+                        ("WORD", "LVLimit", 0),
+                        ("list", "RepSignCostMoneyInfo", 0),
+                        ("BYTE", "TemplateID", 0),
+                        ),
+
+                "ActLoginNewAward":(
+                        ("BYTE", "TemplateID", 1),
+                        ("BYTE", "DayNum", 0),
+                        ("list", "LoginAwardItemList", 0),
+                        ),
+
                 "ActLoginAward":(
                         ("DWORD", "CfgID", 1),
                         ("char", "StartDate", 0),
@@ -4926,6 +4941,31 @@
     def GetReward(self): return self.attrTuple[4] # 奖励物品 list
     def GetPoint(self): return self.attrTuple[5] # 积分 WORD
 
+# 登录活动奖励时间表新
+class IPY_ActLoginNew():
+    
+    def __init__(self):
+        self.attrTuple = None
+        return
+        
+    def GetCfgID(self): return self.attrTuple[0] # 配置ID DWORD
+    def GetStartDate(self): return self.attrTuple[1] # 开启日期 char
+    def GetEndDate(self): return self.attrTuple[2] # 结束日期 char
+    def GetLVLimit(self): return self.attrTuple[3] # 限制等级 WORD
+    def GetRepSignCostMoneyInfo(self): return self.attrTuple[4] # 补签消耗货币类型数量 list
+    def GetTemplateID(self): return self.attrTuple[5] # 登录奖励模板编号 BYTE
+
+# 登录活动奖励模板表新
+class IPY_ActLoginNewAward():
+    
+    def __init__(self):
+        self.attrTuple = None
+        return
+        
+    def GetTemplateID(self): return self.attrTuple[0] # 模板ID BYTE
+    def GetDayNum(self): return self.attrTuple[1] # 第X天从1开始 BYTE
+    def GetLoginAwardItemList(self): return self.attrTuple[2] # 奖励列表[[物品ID,个数,是否拍品], ...] list
+
 # 登录奖励时间表
 class IPY_ActLoginAward():
     
@@ -5786,6 +5826,8 @@
         self.__LoadFileData("CoatChestUp", onlyCheck)
         self.__LoadFileData("ActWeekParty", onlyCheck)
         self.__LoadFileData("WeekParty", onlyCheck)
+        self.__LoadFileData("ActLoginNew", onlyCheck)
+        self.__LoadFileData("ActLoginNewAward", onlyCheck)
         self.__LoadFileData("ActLoginAward", onlyCheck)
         self.__LoadFileData("LoginAward", onlyCheck)
         self.__LoadFileData("ActFeastLogin", onlyCheck)
@@ -7292,6 +7334,20 @@
         self.CheckLoadData("WeekParty")
         return self.ipyWeekPartyCache[index]
 
+    def GetActLoginNewCount(self):
+        self.CheckLoadData("ActLoginNew")
+        return self.ipyActLoginNewLen
+    def GetActLoginNewByIndex(self, index):
+        self.CheckLoadData("ActLoginNew")
+        return self.ipyActLoginNewCache[index]
+
+    def GetActLoginNewAwardCount(self):
+        self.CheckLoadData("ActLoginNewAward")
+        return self.ipyActLoginNewAwardLen
+    def GetActLoginNewAwardByIndex(self, index):
+        self.CheckLoadData("ActLoginNewAward")
+        return self.ipyActLoginNewAwardCache[index]
+
     def GetActLoginAwardCount(self):
         self.CheckLoadData("ActLoginAward")
         return self.ipyActLoginAwardLen

--
Gitblit v1.8.0