ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -8226,6 +8226,7 @@
    Job = 0    #(BYTE Job)
    LV = 0    #(WORD LV)
    MaxHP = 0    #(DWORD MaxHP)// 默认满血
    MaxProDef = 0    #(DWORD MaxProDef)// 最大护盾
    data = None
    def __init__(self):
@@ -8240,6 +8241,7 @@
        self.Job,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        self.LV,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.MaxHP,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.MaxProDef,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        return _pos
    def Clear(self):
@@ -8249,6 +8251,7 @@
        self.Job = 0
        self.LV = 0
        self.MaxHP = 0
        self.MaxProDef = 0
        return
    def GetLength(self):
@@ -8258,6 +8261,7 @@
        length += len(self.PlayerName)
        length += 1
        length += 2
        length += 4
        length += 4
        return length
@@ -8270,6 +8274,7 @@
        data = CommFunc.WriteBYTE(data, self.Job)
        data = CommFunc.WriteWORD(data, self.LV)
        data = CommFunc.WriteDWORD(data, self.MaxHP)
        data = CommFunc.WriteDWORD(data, self.MaxProDef)
        return data
    def OutputString(self):
@@ -8279,7 +8284,8 @@
                                PlayerName:%s,
                                Job:%d,
                                LV:%d,
                                MaxHP:%d
                                MaxHP:%d,
                                MaxProDef:%d
                                '''\
                                %(
                                self.PlayerID,
@@ -8287,7 +8293,8 @@
                                self.PlayerName,
                                self.Job,
                                self.LV,
                                self.MaxHP
                                self.MaxHP,
                                self.MaxProDef
                                )
        return DumpString