hxp
2019-12-10 43e5e84170e91ca2bc4c26d289a8bc5a891d06d0
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -6246,7 +6246,6 @@
class  tagGCGetAssistThanksGiftPreview(Structure):
    Head = tagHead()
    GiftGUID = ""    #(char GiftGUID[40])//礼盒GUID
    ItemID = 0    #(DWORD ItemID)//礼盒ID
    PlayerID = 0    #(DWORD PlayerID)//发起玩家ID
    PlayerName = ""    #(char PlayerName[33])
@@ -6271,7 +6270,6 @@
    def ReadData(self, _lpData, _pos=0, _Len=0):
        self.Clear()
        _pos = self.Head.ReadData(_lpData, _pos)
        self.GiftGUID,_pos = CommFunc.ReadString(_lpData, _pos,40)
        self.ItemID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.PlayerID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.PlayerName,_pos = CommFunc.ReadString(_lpData, _pos,33)
@@ -6292,7 +6290,6 @@
        self.Head.Clear()
        self.Head.Cmd = 0xB0
        self.Head.SubCmd = 0x05
        self.GiftGUID = ""
        self.ItemID = 0
        self.PlayerID = 0
        self.PlayerName = ""
@@ -6311,7 +6308,6 @@
    def GetLength(self):
        length = 0
        length += self.Head.GetLength()
        length += 40
        length += 4
        length += 4
        length += 33
@@ -6331,7 +6327,6 @@
    def GetBuffer(self):
        data = ''
        data = CommFunc.WriteString(data, self.Head.GetLength(), self.Head.GetBuffer())
        data = CommFunc.WriteString(data, 40, self.GiftGUID)
        data = CommFunc.WriteDWORD(data, self.ItemID)
        data = CommFunc.WriteDWORD(data, self.PlayerID)
        data = CommFunc.WriteString(data, 33, self.PlayerName)
@@ -6350,7 +6345,6 @@
    def OutputString(self):
        DumpString = '''
                                Head:%s,
                                GiftGUID:%s,
                                ItemID:%d,
                                PlayerID:%d,
                                PlayerName:%s,
@@ -6367,7 +6361,6 @@
                                '''\
                                %(
                                self.Head.OutputString(),
                                self.GiftGUID,
                                self.ItemID,
                                self.PlayerID,
                                self.PlayerName,
@@ -6460,7 +6453,6 @@
class  tagGCUseAssistThanksGiftPreview(Structure):
    Head = tagHead()
    GiftGUID = ""    #(char GiftGUID[40])//礼盒GUID
    ItemID = 0    #(DWORD ItemID)//礼盒ID
    MapID = 0    #(DWORD MapID)
    LineID = 0    #(DWORD LineID)
@@ -6480,7 +6472,6 @@
    def ReadData(self, _lpData, _pos=0, _Len=0):
        self.Clear()
        _pos = self.Head.ReadData(_lpData, _pos)
        self.GiftGUID,_pos = CommFunc.ReadString(_lpData, _pos,40)
        self.ItemID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.MapID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.LineID,_pos = CommFunc.ReadDWORD(_lpData, _pos)
@@ -6499,7 +6490,6 @@
        self.Head.Clear()
        self.Head.Cmd = 0xB0
        self.Head.SubCmd = 0x04
        self.GiftGUID = ""
        self.ItemID = 0
        self.MapID = 0
        self.LineID = 0
@@ -6513,7 +6503,6 @@
    def GetLength(self):
        length = 0
        length += self.Head.GetLength()
        length += 40
        length += 4
        length += 4
        length += 4
@@ -6529,7 +6518,6 @@
    def GetBuffer(self):
        data = ''
        data = CommFunc.WriteString(data, self.Head.GetLength(), self.Head.GetBuffer())
        data = CommFunc.WriteString(data, 40, self.GiftGUID)
        data = CommFunc.WriteDWORD(data, self.ItemID)
        data = CommFunc.WriteDWORD(data, self.MapID)
        data = CommFunc.WriteDWORD(data, self.LineID)
@@ -6544,7 +6532,6 @@
    def OutputString(self):
        DumpString = '''
                                Head:%s,
                                GiftGUID:%s,
                                ItemID:%d,
                                MapID:%d,
                                LineID:%d,
@@ -6556,7 +6543,6 @@
                                '''\
                                %(
                                self.Head.OutputString(),
                                self.GiftGUID,
                                self.ItemID,
                                self.MapID,
                                self.LineID,