From 26958aff1b844a743a805b4f9075bee800b72a46 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 04 十一月 2025 14:35:37 +0800
Subject: [PATCH] 332 【主界面】座骑系统-服务端

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py |   12 +++++++++++-
 1 files changed, 11 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 3b09467..cdfcca2 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
@@ -25885,6 +25885,7 @@
         ('Face', ctypes.c_int),
         ('FacePic', ctypes.c_int),
         ('ModelMark', ctypes.c_ulong),
+        ('EquipShowSwitch', ctypes.c_ulong),
         ('FamilyID', ctypes.c_ulong),
         ('FamilyName', ctypes.c_char * 33),
         ('FamilyEmblemID', ctypes.c_ushort),
@@ -25913,6 +25914,7 @@
         self.Face = 0
         self.FacePic = 0
         self.ModelMark = 0
+        self.EquipShowSwitch = 0
         self.FamilyID = 0
         self.FamilyName = ''
         self.FamilyEmblemID = 0
@@ -25943,6 +25945,7 @@
         self.Face, pos = CommFunc.ReadDWORD(buf, pos)
         self.FacePic, pos = CommFunc.ReadDWORD(buf, pos)
         self.ModelMark, pos = CommFunc.ReadDWORD(buf, pos)
+        self.EquipShowSwitch, pos = CommFunc.ReadDWORD(buf, pos)
         self.FamilyID, pos = CommFunc.ReadDWORD(buf, pos)
         self.FamilyName, pos = CommFunc.ReadString(buf, pos, 33)
         self.FamilyEmblemID, pos = CommFunc.ReadWORD(buf, pos)
@@ -25968,6 +25971,7 @@
         buf = CommFunc.WriteDWORD(buf, self.Face)
         buf = CommFunc.WriteDWORD(buf, self.FacePic)
         buf = CommFunc.WriteDWORD(buf, self.ModelMark)
+        buf = CommFunc.WriteDWORD(buf, self.EquipShowSwitch)
         buf = CommFunc.WriteDWORD(buf, self.FamilyID)
         buf = CommFunc.WriteString(buf, sizeof(ctypes.c_char) * 33, self.FamilyName)
         buf = CommFunc.WriteWORD(buf, self.FamilyEmblemID)
@@ -25991,6 +25995,7 @@
         length += sizeof(ctypes.c_ubyte)
         length += sizeof(ctypes.c_int)
         length += sizeof(ctypes.c_int)
+        length += sizeof(ctypes.c_ulong)
         length += sizeof(ctypes.c_ulong)
         length += sizeof(ctypes.c_ulong)
         length += sizeof(ctypes.c_char) * 33
@@ -26017,6 +26022,7 @@
         rec[u'Face'] = self.Face
         rec[u'FacePic'] = self.FacePic
         rec[u'ModelMark'] = self.ModelMark
+        rec[u'EquipShowSwitch'] = self.EquipShowSwitch
         rec[u'FamilyID'] = self.FamilyID
         rec[u'FamilyName'] = fix_incomingText(self.FamilyName)
         rec[u'FamilyEmblemID'] = self.FamilyEmblemID
@@ -26041,6 +26047,7 @@
         self.Face = rec.get(u'Face', 0)
         self.FacePic = rec.get(u'FacePic', 0)
         self.ModelMark = rec.get(u'ModelMark', 0)
+        self.EquipShowSwitch = rec.get(u'EquipShowSwitch', 0)
         self.FamilyID = rec.get(u'FamilyID', 0)
         self.FamilyName = fix_outgoingText(rec.get(u'FamilyName', u''))
         self.FamilyEmblemID = rec.get(u'FamilyEmblemID', 0)
@@ -26164,6 +26171,7 @@
             Face = %s,
             FacePic = %s,
             ModelMark = %s,
+            EquipShowSwitch = %s,
             FamilyID = %s,
             FamilyName = %s,
             FamilyEmblemID = %s,
@@ -26186,6 +26194,7 @@
                 self.Face,
                 self.FacePic,
                 self.ModelMark,
+                self.EquipShowSwitch,
                 self.FamilyID,
                 self.FamilyName,
                 self.FamilyEmblemID,
@@ -26202,7 +26211,7 @@
         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\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\t%1s\t%1s'''%(
                 self.PlayerID,
                 self.AccID,
                 self.PlayerName,
@@ -26212,6 +26221,7 @@
                 self.Face,
                 self.FacePic,
                 self.ModelMark,
+                self.EquipShowSwitch,
                 self.FamilyID,
                 self.FamilyName,
                 self.FamilyEmblemID,

--
Gitblit v1.8.0