hxp
2019-02-25 905bad6a43c7ed07a436781600c8fe7ad41dd887
ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py
@@ -6849,12 +6849,57 @@
#------------------------------------------------------
# B5 04 拍卖行新上架拍品 #tagGCAddAuctionItem
# B5 04 拍卖行新上架拍品 #tagGCAddAuctionItemInfo
class  tagGCAddAuctionItem(Structure):
    Head = tagHead()
    ItemGUID = ""    #(char ItemGUID[40])
    ItemID = 0    #(DWORD ItemID)
    data = None
    def __init__(self):
        self.Clear()
        return
    def ReadData(self, _lpData, _pos=0, _Len=0):
        self.Clear()
        self.ItemGUID,_pos = CommFunc.ReadString(_lpData, _pos,40)
        self.ItemID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        return _pos
    def Clear(self):
        self.ItemGUID = ""
        self.ItemID = 0
        return
    def GetLength(self):
        length = 0
        length += 40
        length += 4
        return length
    def GetBuffer(self):
        data = ''
        data = CommFunc.WriteString(data, 40, self.ItemGUID)
        data = CommFunc.WriteDWORD(data, self.ItemID)
        return data
    def OutputString(self):
        DumpString = '''
                                ItemGUID:%s,
                                ItemID:%d
                                '''\
                                %(
                                self.ItemGUID,
                                self.ItemID
                                )
        return DumpString
class  tagGCAddAuctionItemInfo(Structure):
    Head = tagHead()
    AddCount = 0    #(BYTE AddCount)
    AddAuctionItemList = list()    #(vector<tagGCAddAuctionItem> AddAuctionItemList)
    data = None
    def __init__(self):
@@ -6866,8 +6911,11 @@
    def ReadData(self, _lpData, _pos=0, _Len=0):
        self.Clear()
        _pos = self.Head.ReadData(_lpData, _pos)
        self.ItemGUID,_pos = CommFunc.ReadString(_lpData, _pos,40)
        self.ItemID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.AddCount,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        for i in range(self.AddCount):
            temAddAuctionItemList = tagGCAddAuctionItem()
            _pos = temAddAuctionItemList.ReadData(_lpData, _pos)
            self.AddAuctionItemList.append(temAddAuctionItemList)
        return _pos
    def Clear(self):
@@ -6875,41 +6923,43 @@
        self.Head.Clear()
        self.Head.Cmd = 0xB5
        self.Head.SubCmd = 0x04
        self.ItemGUID = ""
        self.ItemID = 0
        self.AddCount = 0
        self.AddAuctionItemList = list()
        return
    def GetLength(self):
        length = 0
        length += self.Head.GetLength()
        length += 40
        length += 4
        length += 1
        for i in range(self.AddCount):
            length += self.AddAuctionItemList[i].GetLength()
        return length
    def GetBuffer(self):
        data = ''
        data = CommFunc.WriteString(data, self.Head.GetLength(), self.Head.GetBuffer())
        data = CommFunc.WriteString(data, 40, self.ItemGUID)
        data = CommFunc.WriteDWORD(data, self.ItemID)
        data = CommFunc.WriteBYTE(data, self.AddCount)
        for i in range(self.AddCount):
            data = CommFunc.WriteString(data, self.AddAuctionItemList[i].GetLength(), self.AddAuctionItemList[i].GetBuffer())
        return data
    def OutputString(self):
        DumpString = '''
                                Head:%s,
                                ItemGUID:%s,
                                ItemID:%d
                                AddCount:%d,
                                AddAuctionItemList:%s
                                '''\
                                %(
                                self.Head.OutputString(),
                                self.ItemGUID,
                                self.ItemID
                                self.AddCount,
                                "..."
                                )
        return DumpString
m_NAtagGCAddAuctionItem=tagGCAddAuctionItem()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagGCAddAuctionItem.Head.Cmd,m_NAtagGCAddAuctionItem.Head.SubCmd))] = m_NAtagGCAddAuctionItem
m_NAtagGCAddAuctionItemInfo=tagGCAddAuctionItemInfo()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagGCAddAuctionItemInfo.Head.Cmd,m_NAtagGCAddAuctionItemInfo.Head.SubCmd))] = m_NAtagGCAddAuctionItemInfo
#------------------------------------------------------
@@ -6991,7 +7041,6 @@
    BidderPrice = 0    #(WORD BidderPrice)//竞拍玩家出价
    UserDataLen = 0    #(WORD UserDataLen)
    UserData = ""    #(String UserData)//自定义数据
    CanGetMoney = 0    #(BYTE CanGetMoney)//可否获得收益
    data = None
    def __init__(self):
@@ -7008,7 +7057,6 @@
        self.BidderPrice,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserDataLen,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserData,_pos = CommFunc.ReadString(_lpData, _pos,self.UserDataLen)
        self.CanGetMoney,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        return _pos
    def Clear(self):
@@ -7020,7 +7068,6 @@
        self.BidderPrice = 0
        self.UserDataLen = 0
        self.UserData = ""
        self.CanGetMoney = 0
        return
    def GetLength(self):
@@ -7033,7 +7080,6 @@
        length += 2
        length += 2
        length += len(self.UserData)
        length += 1
        return length
@@ -7047,7 +7093,6 @@
        data = CommFunc.WriteWORD(data, self.BidderPrice)
        data = CommFunc.WriteWORD(data, self.UserDataLen)
        data = CommFunc.WriteString(data, self.UserDataLen, self.UserData)
        data = CommFunc.WriteBYTE(data, self.CanGetMoney)
        return data
    def OutputString(self):
@@ -7059,8 +7104,7 @@
                                AddTime:%s,
                                BidderPrice:%d,
                                UserDataLen:%d,
                                UserData:%s,
                                CanGetMoney:%d
                                UserData:%s
                                '''\
                                %(
                                self.ItemGUID,
@@ -7070,8 +7114,7 @@
                                self.AddTime,
                                self.BidderPrice,
                                self.UserDataLen,
                                self.UserData,
                                self.CanGetMoney
                                self.UserData
                                )
        return DumpString
@@ -7154,7 +7197,6 @@
    BidderPrice = 0    #(WORD BidderPrice)//竞拍玩家出价
    UserDataLen = 0    #(WORD UserDataLen)
    UserData = ""    #(String UserData)//自定义数据
    CanGetMoney = 0    #(BYTE CanGetMoney)//可否获得收益
    data = None
    def __init__(self):
@@ -7171,7 +7213,6 @@
        self.BidderPrice,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserDataLen,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserData,_pos = CommFunc.ReadString(_lpData, _pos,self.UserDataLen)
        self.CanGetMoney,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        return _pos
    def Clear(self):
@@ -7183,7 +7224,6 @@
        self.BidderPrice = 0
        self.UserDataLen = 0
        self.UserData = ""
        self.CanGetMoney = 0
        return
    def GetLength(self):
@@ -7196,7 +7236,6 @@
        length += 2
        length += 2
        length += len(self.UserData)
        length += 1
        return length
@@ -7210,7 +7249,6 @@
        data = CommFunc.WriteWORD(data, self.BidderPrice)
        data = CommFunc.WriteWORD(data, self.UserDataLen)
        data = CommFunc.WriteString(data, self.UserDataLen, self.UserData)
        data = CommFunc.WriteBYTE(data, self.CanGetMoney)
        return data
    def OutputString(self):
@@ -7222,8 +7260,7 @@
                                AddTime:%s,
                                BidderPrice:%d,
                                UserDataLen:%d,
                                UserData:%s,
                                CanGetMoney:%d
                                UserData:%s
                                '''\
                                %(
                                self.ItemGUID,
@@ -7233,8 +7270,7 @@
                                self.AddTime,
                                self.BidderPrice,
                                self.UserDataLen,
                                self.UserData,
                                self.CanGetMoney
                                self.UserData
                                )
        return DumpString
@@ -7375,11 +7411,213 @@
#------------------------------------------------------
# B5 09 拍卖行清除拍品 #tagGCClearAuctionItem
# B5 10 拍卖行玩家竞价中的物品信息 #tagGCBiddingItemInfo
class  tagGCBiddingItem(Structure):
    ItemGUID = ""    #(char ItemGUID[40])
    FamilyID = 0    #(DWORD FamilyID)//有值时为仙盟拍品
    ItemID = 0    #(DWORD ItemID)
    ItemCount = 0    #(WORD ItemCount)
    AddTime = ""    #(char AddTime[19])//上架时间 yyyy-MM-dd hh:mm:ss
    BidderID = 0    #(DWORD BidderID)//竞拍玩家ID,也就是当前最高竞价玩家ID
    BidderPrice = 0    #(WORD BidderPrice)//竞拍玩家出价
    UserDataLen = 0    #(WORD UserDataLen)
    UserData = ""    #(String UserData)//自定义数据
    data = None
    def __init__(self):
        self.Clear()
        return
    def ReadData(self, _lpData, _pos=0, _Len=0):
        self.Clear()
        self.ItemGUID,_pos = CommFunc.ReadString(_lpData, _pos,40)
        self.FamilyID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.ItemID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.ItemCount,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.AddTime,_pos = CommFunc.ReadString(_lpData, _pos,19)
        self.BidderID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.BidderPrice,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserDataLen,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserData,_pos = CommFunc.ReadString(_lpData, _pos,self.UserDataLen)
        return _pos
    def Clear(self):
        self.ItemGUID = ""
        self.FamilyID = 0
        self.ItemID = 0
        self.ItemCount = 0
        self.AddTime = ""
        self.BidderID = 0
        self.BidderPrice = 0
        self.UserDataLen = 0
        self.UserData = ""
        return
    def GetLength(self):
        length = 0
        length += 40
        length += 4
        length += 4
        length += 2
        length += 19
        length += 4
        length += 2
        length += 2
        length += len(self.UserData)
        return length
    def GetBuffer(self):
        data = ''
        data = CommFunc.WriteString(data, 40, self.ItemGUID)
        data = CommFunc.WriteDWORD(data, self.FamilyID)
        data = CommFunc.WriteDWORD(data, self.ItemID)
        data = CommFunc.WriteWORD(data, self.ItemCount)
        data = CommFunc.WriteString(data, 19, self.AddTime)
        data = CommFunc.WriteDWORD(data, self.BidderID)
        data = CommFunc.WriteWORD(data, self.BidderPrice)
        data = CommFunc.WriteWORD(data, self.UserDataLen)
        data = CommFunc.WriteString(data, self.UserDataLen, self.UserData)
        return data
    def OutputString(self):
        DumpString = '''
                                ItemGUID:%s,
                                FamilyID:%d,
                                ItemID:%d,
                                ItemCount:%d,
                                AddTime:%s,
                                BidderID:%d,
                                BidderPrice:%d,
                                UserDataLen:%d,
                                UserData:%s
                                '''\
                                %(
                                self.ItemGUID,
                                self.FamilyID,
                                self.ItemID,
                                self.ItemCount,
                                self.AddTime,
                                self.BidderID,
                                self.BidderPrice,
                                self.UserDataLen,
                                self.UserData
                                )
        return DumpString
class  tagGCBiddingItemInfo(Structure):
    Head = tagHead()
    AuctionItemCount = 0    #(BYTE AuctionItemCount)//拍品数量
    AuctionItemList = list()    #(vector<tagGCBiddingItem> AuctionItemList)//拍品列表
    data = None
    def __init__(self):
        self.Clear()
        self.Head.Cmd = 0xB5
        self.Head.SubCmd = 0x10
        return
    def ReadData(self, _lpData, _pos=0, _Len=0):
        self.Clear()
        _pos = self.Head.ReadData(_lpData, _pos)
        self.AuctionItemCount,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        for i in range(self.AuctionItemCount):
            temAuctionItemList = tagGCBiddingItem()
            _pos = temAuctionItemList.ReadData(_lpData, _pos)
            self.AuctionItemList.append(temAuctionItemList)
        return _pos
    def Clear(self):
        self.Head = tagHead()
        self.Head.Clear()
        self.Head.Cmd = 0xB5
        self.Head.SubCmd = 0x10
        self.AuctionItemCount = 0
        self.AuctionItemList = list()
        return
    def GetLength(self):
        length = 0
        length += self.Head.GetLength()
        length += 1
        for i in range(self.AuctionItemCount):
            length += self.AuctionItemList[i].GetLength()
        return length
    def GetBuffer(self):
        data = ''
        data = CommFunc.WriteString(data, self.Head.GetLength(), self.Head.GetBuffer())
        data = CommFunc.WriteBYTE(data, self.AuctionItemCount)
        for i in range(self.AuctionItemCount):
            data = CommFunc.WriteString(data, self.AuctionItemList[i].GetLength(), self.AuctionItemList[i].GetBuffer())
        return data
    def OutputString(self):
        DumpString = '''
                                Head:%s,
                                AuctionItemCount:%d,
                                AuctionItemList:%s
                                '''\
                                %(
                                self.Head.OutputString(),
                                self.AuctionItemCount,
                                "..."
                                )
        return DumpString
m_NAtagGCBiddingItemInfo=tagGCBiddingItemInfo()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagGCBiddingItemInfo.Head.Cmd,m_NAtagGCBiddingItemInfo.Head.SubCmd))] = m_NAtagGCBiddingItemInfo
#------------------------------------------------------
# B5 09 拍卖行清除拍品 #tagGCClearAuctionItemInfo
class  tagGCClearAuctionItem(Structure):
    Head = tagHead()
    ItemGUID = ""    #(char ItemGUID[40])
    data = None
    def __init__(self):
        self.Clear()
        return
    def ReadData(self, _lpData, _pos=0, _Len=0):
        self.Clear()
        self.ItemGUID,_pos = CommFunc.ReadString(_lpData, _pos,40)
        return _pos
    def Clear(self):
        self.ItemGUID = ""
        return
    def GetLength(self):
        length = 0
        length += 40
        return length
    def GetBuffer(self):
        data = ''
        data = CommFunc.WriteString(data, 40, self.ItemGUID)
        return data
    def OutputString(self):
        DumpString = '''
                                ItemGUID:%s
                                '''\
                                %(
                                self.ItemGUID
                                )
        return DumpString
class  tagGCClearAuctionItemInfo(Structure):
    Head = tagHead()
    ClearCount = 0    #(BYTE ClearCount)
    ClearAuctionItemList = list()    #(vector<tagGCClearAuctionItem> ClearAuctionItemList)
    data = None
    def __init__(self):
@@ -7391,7 +7629,11 @@
    def ReadData(self, _lpData, _pos=0, _Len=0):
        self.Clear()
        _pos = self.Head.ReadData(_lpData, _pos)
        self.ItemGUID,_pos = CommFunc.ReadString(_lpData, _pos,40)
        self.ClearCount,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        for i in range(self.ClearCount):
            temClearAuctionItemList = tagGCClearAuctionItem()
            _pos = temClearAuctionItemList.ReadData(_lpData, _pos)
            self.ClearAuctionItemList.append(temClearAuctionItemList)
        return _pos
    def Clear(self):
@@ -7399,36 +7641,43 @@
        self.Head.Clear()
        self.Head.Cmd = 0xB5
        self.Head.SubCmd = 0x09
        self.ItemGUID = ""
        self.ClearCount = 0
        self.ClearAuctionItemList = list()
        return
    def GetLength(self):
        length = 0
        length += self.Head.GetLength()
        length += 40
        length += 1
        for i in range(self.ClearCount):
            length += self.ClearAuctionItemList[i].GetLength()
        return length
    def GetBuffer(self):
        data = ''
        data = CommFunc.WriteString(data, self.Head.GetLength(), self.Head.GetBuffer())
        data = CommFunc.WriteString(data, 40, self.ItemGUID)
        data = CommFunc.WriteBYTE(data, self.ClearCount)
        for i in range(self.ClearCount):
            data = CommFunc.WriteString(data, self.ClearAuctionItemList[i].GetLength(), self.ClearAuctionItemList[i].GetBuffer())
        return data
    def OutputString(self):
        DumpString = '''
                                Head:%s,
                                ItemGUID:%s
                                ClearCount:%d,
                                ClearAuctionItemList:%s
                                '''\
                                %(
                                self.Head.OutputString(),
                                self.ItemGUID
                                self.ClearCount,
                                "..."
                                )
        return DumpString
m_NAtagGCClearAuctionItem=tagGCClearAuctionItem()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagGCClearAuctionItem.Head.Cmd,m_NAtagGCClearAuctionItem.Head.SubCmd))] = m_NAtagGCClearAuctionItem
m_NAtagGCClearAuctionItemInfo=tagGCClearAuctionItemInfo()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagGCClearAuctionItemInfo.Head.Cmd,m_NAtagGCClearAuctionItemInfo.Head.SubCmd))] = m_NAtagGCClearAuctionItemInfo
#------------------------------------------------------
@@ -7444,6 +7693,7 @@
    UserDataLen = 0    #(WORD UserDataLen)
    UserData = ""    #(String UserData)//自定义数据
    CanGetMoney = 0    #(BYTE CanGetMoney)//可否获得收益
    AuctionType = 0    #(BYTE AuctionType)//拍品类型,0-全服拍品,1-仙盟拍品
    data = None
    def __init__(self):
@@ -7461,6 +7711,7 @@
        self.UserDataLen,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserData,_pos = CommFunc.ReadString(_lpData, _pos,self.UserDataLen)
        self.CanGetMoney,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        self.AuctionType,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        return _pos
    def Clear(self):
@@ -7473,6 +7724,7 @@
        self.UserDataLen = 0
        self.UserData = ""
        self.CanGetMoney = 0
        self.AuctionType = 0
        return
    def GetLength(self):
@@ -7485,6 +7737,7 @@
        length += 2
        length += 2
        length += len(self.UserData)
        length += 1
        length += 1
        return length
@@ -7500,6 +7753,7 @@
        data = CommFunc.WriteWORD(data, self.UserDataLen)
        data = CommFunc.WriteString(data, self.UserDataLen, self.UserData)
        data = CommFunc.WriteBYTE(data, self.CanGetMoney)
        data = CommFunc.WriteBYTE(data, self.AuctionType)
        return data
    def OutputString(self):
@@ -7512,7 +7766,8 @@
                                BidderPrice:%d,
                                UserDataLen:%d,
                                UserData:%s,
                                CanGetMoney:%d
                                CanGetMoney:%d,
                                AuctionType:%d
                                '''\
                                %(
                                self.ItemGUID,
@@ -7523,7 +7778,8 @@
                                self.BidderPrice,
                                self.UserDataLen,
                                self.UserData,
                                self.CanGetMoney
                                self.CanGetMoney,
                                self.AuctionType
                                )
        return DumpString
@@ -7606,7 +7862,6 @@
    BidderPrice = 0    #(WORD BidderPrice)//竞拍玩家出价
    UserDataLen = 0    #(WORD UserDataLen)
    UserData = ""    #(String UserData)//自定义数据
    CanGetMoney = 0    #(BYTE CanGetMoney)//可否获得收益
    data = None
    def __init__(self):
@@ -7623,7 +7878,6 @@
        self.BidderPrice,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserDataLen,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserData,_pos = CommFunc.ReadString(_lpData, _pos,self.UserDataLen)
        self.CanGetMoney,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        return _pos
    def Clear(self):
@@ -7635,7 +7889,6 @@
        self.BidderPrice = 0
        self.UserDataLen = 0
        self.UserData = ""
        self.CanGetMoney = 0
        return
    def GetLength(self):
@@ -7648,7 +7901,6 @@
        length += 2
        length += 2
        length += len(self.UserData)
        length += 1
        return length
@@ -7662,7 +7914,6 @@
        data = CommFunc.WriteWORD(data, self.BidderPrice)
        data = CommFunc.WriteWORD(data, self.UserDataLen)
        data = CommFunc.WriteString(data, self.UserDataLen, self.UserData)
        data = CommFunc.WriteBYTE(data, self.CanGetMoney)
        return data
    def OutputString(self):
@@ -7674,8 +7925,7 @@
                                AddTime:%s,
                                BidderPrice:%d,
                                UserDataLen:%d,
                                UserData:%s,
                                CanGetMoney:%d
                                UserData:%s
                                '''\
                                %(
                                self.ItemGUID,
@@ -7685,8 +7935,7 @@
                                self.AddTime,
                                self.BidderPrice,
                                self.UserDataLen,
                                self.UserData,
                                self.CanGetMoney
                                self.UserData
                                )
        return DumpString
@@ -7761,6 +8010,7 @@
# B5 03 拍卖行玩家拍卖记录 #tagGCPlayerAuctionRecordInfo
class  tagGCPlayerAuctionRecord(Structure):
    ItemGUID = ""    #(char ItemGUID[40])
    FamilyID = 0    #(DWORD FamilyID)//有值时为仙盟拍品
    RecordType = 0    #(BYTE RecordType)//记录类型 0-流拍 1-拍卖成交 2-回收 3-竞价成功 4-竞价失败
    RecordTime = ""    #(char RecordTime[19])//记录时间 yyyy-MM-dd hh:mm:ss
@@ -7777,6 +8027,7 @@
    def ReadData(self, _lpData, _pos=0, _Len=0):
        self.Clear()
        self.ItemGUID,_pos = CommFunc.ReadString(_lpData, _pos,40)
        self.FamilyID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.RecordType,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        self.RecordTime,_pos = CommFunc.ReadString(_lpData, _pos,19)
@@ -7788,6 +8039,7 @@
        return _pos
    def Clear(self):
        self.ItemGUID = ""
        self.FamilyID = 0
        self.RecordType = 0
        self.RecordTime = ""
@@ -7800,6 +8052,7 @@
    def GetLength(self):
        length = 0
        length += 40
        length += 4
        length += 1
        length += 19
@@ -7813,6 +8066,7 @@
    def GetBuffer(self):
        data = ''
        data = CommFunc.WriteString(data, 40, self.ItemGUID)
        data = CommFunc.WriteDWORD(data, self.FamilyID)
        data = CommFunc.WriteBYTE(data, self.RecordType)
        data = CommFunc.WriteString(data, 19, self.RecordTime)
@@ -7825,6 +8079,7 @@
    def OutputString(self):
        DumpString = '''
                                ItemGUID:%s,
                                FamilyID:%d,
                                RecordType:%d,
                                RecordTime:%s,
@@ -7835,6 +8090,7 @@
                                UserData:%s
                                '''\
                                %(
                                self.ItemGUID,
                                self.FamilyID,
                                self.RecordType,
                                self.RecordTime,
@@ -7850,7 +8106,7 @@
class  tagGCPlayerAuctionRecordInfo(Structure):
    Head = tagHead()
    Count = 0    #(BYTE Count)
    AuctionRecordList = list()    #(vector<tagGCPlayerAuctionRecordInfo> AuctionRecordList)
    AuctionRecordList = list()    #(vector<tagGCPlayerAuctionRecord> AuctionRecordList)
    data = None
    def __init__(self):
@@ -7864,7 +8120,7 @@
        _pos = self.Head.ReadData(_lpData, _pos)
        self.Count,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        for i in range(self.Count):
            temAuctionRecordList = tagGCPlayerAuctionRecordInfo()
            temAuctionRecordList = tagGCPlayerAuctionRecord()
            _pos = temAuctionRecordList.ReadData(_lpData, _pos)
            self.AuctionRecordList.append(temAuctionRecordList)
        return _pos
@@ -7926,7 +8182,6 @@
    BidderPrice = 0    #(WORD BidderPrice)//竞拍玩家出价
    UserDataLen = 0    #(WORD UserDataLen)
    UserData = ""    #(String UserData)//自定义数据
    CanGetMoney = 0    #(BYTE CanGetMoney)//可否获得收益
    data = None
    def __init__(self):
@@ -7946,7 +8201,6 @@
        self.BidderPrice,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserDataLen,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.UserData,_pos = CommFunc.ReadString(_lpData, _pos,self.UserDataLen)
        self.CanGetMoney,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        return _pos
    def Clear(self):
@@ -7962,7 +8216,6 @@
        self.BidderPrice = 0
        self.UserDataLen = 0
        self.UserData = ""
        self.CanGetMoney = 0
        return
    def GetLength(self):
@@ -7976,7 +8229,6 @@
        length += 2
        length += 2
        length += len(self.UserData)
        length += 1
        return length
@@ -7991,7 +8243,6 @@
        data = CommFunc.WriteWORD(data, self.BidderPrice)
        data = CommFunc.WriteWORD(data, self.UserDataLen)
        data = CommFunc.WriteString(data, self.UserDataLen, self.UserData)
        data = CommFunc.WriteBYTE(data, self.CanGetMoney)
        return data
    def OutputString(self):
@@ -8004,8 +8255,7 @@
                                AddTime:%s,
                                BidderPrice:%d,
                                UserDataLen:%d,
                                UserData:%s,
                                CanGetMoney:%d
                                UserData:%s
                                '''\
                                %(
                                self.Head.OutputString(),
@@ -8016,8 +8266,7 @@
                                self.AddTime,
                                self.BidderPrice,
                                self.UserDataLen,
                                self.UserData,
                                self.CanGetMoney
                                self.UserData
                                )
        return DumpString