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

---
 ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py
index d8368bb..6324890 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py
@@ -774,6 +774,18 @@
                         ("WORD", "LVLimit", 0),
                         ),
 
+                "ActLoginNew":(
+                        ("DWORD", "CfgID", 1),
+                        ("list", "PlatformList", 0),
+                        ("list", "ServerGroupIDList", 0),
+                        ("BYTE", "ActNum", 0),
+                        ("char", "StartDate", 0),
+                        ("char", "EndDate", 0),
+                        ("dict", "NotifyInfoStart", 0),
+                        ("dict", "NotifyInfoEnd", 0),
+                        ("list", "NotifyInfoLoop", 0),
+                        ),
+
                 "ActLoginAward":(
                         ("DWORD", "CfgID", 1),
                         ("char", "ActMark", 0),
@@ -2059,6 +2071,23 @@
     def GetNotifyInfoEnd(self): return self.attrTuple[10] # 全服提示信息 - 相对结束时间 dict
     def GetLVLimit(self): return self.attrTuple[11] # 限制等级 WORD
 
+# 登录活动奖励时间表新
+class IPY_ActLoginNew():
+    
+    def __init__(self):
+        self.attrTuple = None
+        return
+        
+    def GetCfgID(self): return self.attrTuple[0] # 配置ID DWORD
+    def GetPlatformList(self): return self.attrTuple[1] # 活动平台列表["平台A", "平台A", ...],配[]代表所有 list
+    def GetServerGroupIDList(self): return self.attrTuple[2] # 服务器ID列表 list
+    def GetActNum(self): return self.attrTuple[3] # 活动分组编号, 活动类型 * 10 + 不同界面编号 BYTE
+    def GetStartDate(self): return self.attrTuple[4] # 开启日期 char
+    def GetEndDate(self): return self.attrTuple[5] # 结束日期 char
+    def GetNotifyInfoStart(self): return self.attrTuple[6] # 全服提示信息 - 相对开始时间 dict
+    def GetNotifyInfoEnd(self): return self.attrTuple[7] # 全服提示信息 - 相对结束时间 dict
+    def GetNotifyInfoLoop(self): return self.attrTuple[8] # 全服提示信息 - 循环广播[间隔分钟, 广播key] list
+
 # 登录奖励时间表
 class IPY_ActLoginAward():
     
@@ -2462,6 +2491,7 @@
         self.__LoadFileData("CrossPenglaiZoneMap", onlyCheck)
         self.__LoadFileData("CrossDemonLandZoneMap", onlyCheck)
         self.__LoadFileData("ActWeekParty", onlyCheck)
+        self.__LoadFileData("ActLoginNew", onlyCheck)
         self.__LoadFileData("ActLoginAward", onlyCheck)
         self.__LoadFileData("ActFeastWeekParty", onlyCheck)
         self.__LoadFileData("ActNewFairyCeremony", onlyCheck)
@@ -3182,6 +3212,13 @@
         self.CheckLoadData("ActWeekParty")
         return self.ipyActWeekPartyCache[index]
 
+    def GetActLoginNewCount(self):
+        self.CheckLoadData("ActLoginNew")
+        return self.ipyActLoginNewLen
+    def GetActLoginNewByIndex(self, index):
+        self.CheckLoadData("ActLoginNew")
+        return self.ipyActLoginNewCache[index]
+
     def GetActLoginAwardCount(self):
         self.CheckLoadData("ActLoginAward")
         return self.ipyActLoginAwardLen

--
Gitblit v1.8.0