From 6641154f22dbfafdd14f047f7a2491a9bbeae723 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 27 十月 2025 14:10:43 +0800
Subject: [PATCH] 16 卡牌服务端(优化榜单,增加更新时间字段;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py
index 52484e8..3696a03 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py
@@ -1768,6 +1768,7 @@
         ('CmpValue', ctypes.c_ulong),
         ('CmpValue2', ctypes.c_ulong),
         ('CmpValue3', ctypes.c_ulong),
+        ('Time', ctypes.c_ulong),
         ('DataLen', ctypes.c_ushort),
         ('UserData', ctypes.c_char_p),
         ('ADOResult', ctypes.c_ulong),
@@ -1797,6 +1798,7 @@
         self.CmpValue = 0
         self.CmpValue2 = 0
         self.CmpValue3 = 0
+        self.Time = 0
         self.DataLen = 0
         self.UserData = ''
 
@@ -1825,6 +1827,7 @@
         self.CmpValue, pos = CommFunc.ReadDWORD(buf, pos)
         self.CmpValue2, pos = CommFunc.ReadDWORD(buf, pos)
         self.CmpValue3, pos = CommFunc.ReadDWORD(buf, pos)
+        self.Time, pos = CommFunc.ReadDWORD(buf, pos)
         self.DataLen, pos = CommFunc.ReadWORD(buf, pos)
         tmp, pos = CommFunc.ReadString(buf, pos, self.DataLen)
         self.UserData = ctypes.c_char_p(tmp)
@@ -1851,6 +1854,7 @@
         buf = CommFunc.WriteDWORD(buf, self.CmpValue)
         buf = CommFunc.WriteDWORD(buf, self.CmpValue2)
         buf = CommFunc.WriteDWORD(buf, self.CmpValue3)
+        buf = CommFunc.WriteDWORD(buf, self.Time)
         buf = CommFunc.WriteWORD(buf, self.DataLen)
         buf = CommFunc.WriteString(buf, self.DataLen, self.UserData)
         return buf
@@ -1865,6 +1869,7 @@
         length += sizeof(ctypes.c_char) * 33
         length += sizeof(ctypes.c_char) * 65
         length += sizeof(ctypes.c_ubyte)
+        length += sizeof(ctypes.c_ulong)
         length += sizeof(ctypes.c_ulong)
         length += sizeof(ctypes.c_ulong)
         length += sizeof(ctypes.c_ulong)
@@ -1901,6 +1906,7 @@
             CmpValue = %s,
             CmpValue2 = %s,
             CmpValue3 = %s,
+            Time = %s,
             DataLen = %s,
             UserData = %s,
             ADOResult = %s,
@@ -1924,6 +1930,7 @@
                 self.CmpValue,
                 self.CmpValue2,
                 self.CmpValue3,
+                self.Time,
                 self.DataLen,
                 self.UserData,
                 self.ADOResult,

--
Gitblit v1.8.0