From d57475ffe460133d146d377e66ed19ccb77b11a7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 20 十月 2025 17:22:00 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(寻宝支持定制第x次x抽必出)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py
index d4b4f01..d76dcac 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py
@@ -27633,6 +27633,7 @@
('ContribDay', ctypes.c_ulong),
('DonateCntTotal', ctypes.c_ulong),
('DonateCntDay', ctypes.c_ubyte),
+ ('TitleID', ctypes.c_ulong),
('ADOResult', ctypes.c_ulong),
]
@@ -27671,6 +27672,7 @@
self.ContribDay, pos = CommFunc.ReadDWORD(buf, pos)
self.DonateCntTotal, pos = CommFunc.ReadDWORD(buf, pos)
self.DonateCntDay, pos = CommFunc.ReadBYTE(buf, pos)
+ self.TitleID, pos = CommFunc.ReadDWORD(buf, pos)
return self.getLength()
@@ -27703,6 +27705,7 @@
rec[u'ContribDay'] = self.ContribDay
rec[u'DonateCntTotal'] = self.DonateCntTotal
rec[u'DonateCntDay'] = self.DonateCntDay
+ rec[u'TitleID'] = self.TitleID
return rec
def readRecord(self, rec):
@@ -27725,6 +27728,7 @@
self.ContribDay = rec.get(u'ContribDay', 0)
self.DonateCntTotal = rec.get(u'DonateCntTotal', 0)
self.DonateCntDay = rec.get(u'DonateCntDay', 0)
+ self.TitleID = rec.get(u'TitleID', 0)
def adoLoad(self, collection):
'''使用KEY查找并读取'''
@@ -27894,6 +27898,7 @@
ContribDay = %s,
DonateCntTotal = %s,
DonateCntDay = %s,
+ TitleID = %s,
ADOResult = %s,
'''%(
self.PlayerID,
@@ -27914,12 +27919,13 @@
self.ContribDay,
self.DonateCntTotal,
self.DonateCntDay,
+ self.TitleID,
self.ADOResult,
)
return output
def dumpString(self):
- output = '''%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s'''%(
+ output = '''%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s\t%1s'''%(
self.PlayerID,
self.FamilyID,
self.JoinTime,
@@ -27938,6 +27944,7 @@
self.ContribDay,
self.DonateCntTotal,
self.DonateCntDay,
+ self.TitleID,
)
return output
--
Gitblit v1.8.0