xdh
2019-03-20 b9f85c666439ef0e8491d70fb28d48f9deea69bb
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -16583,6 +16583,66 @@
#------------------------------------------------------
# A3 27 境界修为池信息 #tagMCRealmExpInfo
class  tagMCRealmExpInfo(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("BeginTime", c_int),    #开始计时时间
                  ("CurExp", c_int),    #当前总经验
                  ("CurExpPoint", c_int),    #当前总经验点
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xA3
        self.SubCmd = 0x27
        return
    def ReadData(self, stringData, _pos=0, _len=0):
        self.Clear()
        memmove(addressof(self), stringData[_pos:], self.GetLength())
        return _pos + self.GetLength()
    def Clear(self):
        self.Cmd = 0xA3
        self.SubCmd = 0x27
        self.BeginTime = 0
        self.CurExp = 0
        self.CurExpPoint = 0
        return
    def GetLength(self):
        return sizeof(tagMCRealmExpInfo)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// A3 27 境界修为池信息 //tagMCRealmExpInfo:
                                Cmd:%s,
                                SubCmd:%s,
                                BeginTime:%d,
                                CurExp:%d,
                                CurExpPoint:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.BeginTime,
                                self.CurExp,
                                self.CurExpPoint
                                )
        return DumpString
m_NAtagMCRealmExpInfo=tagMCRealmExpInfo()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCRealmExpInfo.Cmd,m_NAtagMCRealmExpInfo.SubCmd))] = m_NAtagMCRealmExpInfo
#------------------------------------------------------
# A3 49 资源找回次数 #tagMCRecoverNum
class  tagMCRecoverNumInfo(Structure):