hxp
2025-10-27 6641154f22dbfafdd14f047f7a2491a9bbeae723
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py
@@ -26275,6 +26275,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),
@@ -26304,6 +26305,7 @@
        self.CmpValue = 0
        self.CmpValue2 = 0
        self.CmpValue3 = 0
        self.Time = 0
        self.DataLen = 0
        self.UserData = ''
@@ -26335,6 +26337,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)
@@ -26361,6 +26364,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
@@ -26375,6 +26379,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)
@@ -26412,6 +26417,7 @@
        rec[u'CmpValue'] = self.CmpValue
        rec[u'CmpValue2'] = self.CmpValue2
        rec[u'CmpValue3'] = self.CmpValue3
        rec[u'Time'] = self.Time
        rec[u'DataLen'] = self.DataLen
        rec[u'UserData'] = fix_incomingText(self.UserData)
        return rec
@@ -26437,6 +26443,7 @@
        self.CmpValue = rec.get(u'CmpValue', 0)
        self.CmpValue2 = rec.get(u'CmpValue2', 0)
        self.CmpValue3 = rec.get(u'CmpValue3', 0)
        self.Time = rec.get(u'Time', 0)
        self.DataLen = rec.get(u'DataLen', 0)
        self.UserData = fix_outgoingText(rec.get(u'UserData', u''))
@@ -26493,6 +26500,7 @@
            CmpValue = %s,
            CmpValue2 = %s,
            CmpValue3 = %s,
            Time = %s,
            DataLen = %s,
            UserData = %s,
            ADOResult = %s,
@@ -26516,6 +26524,7 @@
                self.CmpValue,
                self.CmpValue2,
                self.CmpValue3,
                self.Time,
                self.DataLen,
                self.UserData,
                self.ADOResult,
@@ -26523,7 +26532,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\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\t%1s'''%(
                self.GroupValue1,
                self.GroupValue2,
                self.BillboardType,
@@ -26543,6 +26552,7 @@
                self.CmpValue,
                self.CmpValue2,
                self.CmpValue3,
                self.Time,
                self.DataLen,
                self.UserData,
            )
@@ -27633,6 +27643,7 @@
        ('ContribDay', ctypes.c_ulong),
        ('DonateCntTotal', ctypes.c_ulong),
        ('DonateCntDay', ctypes.c_ubyte),
        ('TitleID', ctypes.c_ulong),
        ('ADOResult', ctypes.c_ulong),
    ]
@@ -27671,6 +27682,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 +27715,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 +27738,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 +27908,7 @@
            ContribDay = %s,
            DonateCntTotal = %s,
            DonateCntDay = %s,
            TitleID = %s,
            ADOResult = %s,
            '''%(
                self.PlayerID,
@@ -27914,12 +27929,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 +27954,7 @@
                self.ContribDay,
                self.DonateCntTotal,
                self.DonateCntDay,
                self.TitleID,
            )
        return output