ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py
@@ -14106,7 +14106,6 @@
class  tagCSHeroPresetSave(Structure):
    Head = tagHead()
    PresetID = 0    #(BYTE PresetID)//阵容方案预设ID
    ShapeType = 0    #(BYTE ShapeType)//本阵容阵型,0为默认阵型,可扩展不同的阵型
    PosCnt = 0    #(BYTE PosCnt)
    HeroPosList = list()    #(vector<tagCSHeroPresetPos> HeroPosList)// 保存的阵容,只发送最终的阵容武将位置即可
    data = None
@@ -14121,7 +14120,6 @@
        self.Clear()
        _pos = self.Head.ReadData(_lpData, _pos)
        self.PresetID,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        self.ShapeType,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        self.PosCnt,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        for i in range(self.PosCnt):
            temHeroPosList = tagCSHeroPresetPos()
@@ -14135,7 +14133,6 @@
        self.Head.Cmd = 0xB4
        self.Head.SubCmd = 0x12
        self.PresetID = 0
        self.ShapeType = 0
        self.PosCnt = 0
        self.HeroPosList = list()
        return
@@ -14143,7 +14140,6 @@
    def GetLength(self):
        length = 0
        length += self.Head.GetLength()
        length += 1
        length += 1
        length += 1
        for i in range(self.PosCnt):
@@ -14155,7 +14151,6 @@
        data = ''
        data = CommFunc.WriteString(data, self.Head.GetLength(), self.Head.GetBuffer())
        data = CommFunc.WriteBYTE(data, self.PresetID)
        data = CommFunc.WriteBYTE(data, self.ShapeType)
        data = CommFunc.WriteBYTE(data, self.PosCnt)
        for i in range(self.PosCnt):
            data = CommFunc.WriteString(data, self.HeroPosList[i].GetLength(), self.HeroPosList[i].GetBuffer())
@@ -14165,14 +14160,12 @@
        DumpString = '''
                                Head:%s,
                                PresetID:%d,
                                ShapeType:%d,
                                PosCnt:%d,
                                HeroPosList:%s
                                '''\
                                %(
                                self.Head.OutputString(),
                                self.PresetID,
                                self.ShapeType,
                                self.PosCnt,
                                "..."
                                )