hch
10 小时以前 1cf37b4b51fc287ca3e443afb72604ec88f72cc4
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/Collections/DataServerPlayerData.py
@@ -1898,7 +1898,7 @@
        ('ItemGUID', ctypes.c_char * 40),
        ('PlayerID', ctypes.c_ulong),
        ('ItemTypeID', ctypes.c_ulong),
        ('Count', ctypes.c_ushort),
        ('Count', ctypes.c_ulong),
        ('IsLocked', ctypes.c_ubyte),
        ('ItemPlaceType', ctypes.c_ubyte),
        ('ItemPlaceIndex', ctypes.c_ushort),
@@ -1946,7 +1946,7 @@
        self.ItemGUID, pos = CommFunc.ReadString(buf, pos, 40)
        self.PlayerID, pos = CommFunc.ReadDWORD(buf, pos)
        self.ItemTypeID, pos = CommFunc.ReadDWORD(buf, pos)
        self.Count, pos = CommFunc.ReadWORD(buf, pos)
        self.Count, pos = CommFunc.ReadDWORD(buf, pos)
        self.IsLocked, pos = CommFunc.ReadBYTE(buf, pos)
        self.ItemPlaceType, pos = CommFunc.ReadBYTE(buf, pos)
        self.ItemPlaceIndex, pos = CommFunc.ReadWORD(buf, pos)
@@ -1965,7 +1965,7 @@
        buf = CommFunc.WriteString(buf, sizeof(ctypes.c_char) * 40, self.ItemGUID)
        buf = CommFunc.WriteDWORD(buf, self.PlayerID)
        buf = CommFunc.WriteDWORD(buf, self.ItemTypeID)
        buf = CommFunc.WriteWORD(buf, self.Count)
        buf = CommFunc.WriteDWORD(buf, self.Count)
        buf = CommFunc.WriteBYTE(buf, self.IsLocked)
        buf = CommFunc.WriteBYTE(buf, self.ItemPlaceType)
        buf = CommFunc.WriteWORD(buf, self.ItemPlaceIndex)
@@ -1983,7 +1983,7 @@
        length += sizeof(ctypes.c_char) * 40
        length += sizeof(ctypes.c_ulong)
        length += sizeof(ctypes.c_ulong)
        length += sizeof(ctypes.c_ushort)
        length += sizeof(ctypes.c_ulong)
        length += sizeof(ctypes.c_ubyte)
        length += sizeof(ctypes.c_ubyte)
        length += sizeof(ctypes.c_ushort)
@@ -2259,7 +2259,6 @@
            self.CreateTime = Str
        else:
            self.CreateTime = Str[:30]