ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py
@@ -15849,6 +15849,62 @@
#------------------------------------------------------
# A6 17 查询家族行为信息 #tagCMQueryFamilyAction
class  tagCMQueryFamilyAction(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("ActionType", c_ubyte),    # 行为类型
                  ("FamilyID", c_int),    # 家族ID,发0默认自己家族
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xA6
        self.SubCmd = 0x17
        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 = 0xA6
        self.SubCmd = 0x17
        self.ActionType = 0
        self.FamilyID = 0
        return
    def GetLength(self):
        return sizeof(tagCMQueryFamilyAction)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// A6 17 查询家族行为信息 //tagCMQueryFamilyAction:
                                Cmd:%s,
                                SubCmd:%s,
                                ActionType:%d,
                                FamilyID:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.ActionType,
                                self.FamilyID
                                )
        return DumpString
m_NAtagCMQueryFamilyAction=tagCMQueryFamilyAction()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagCMQueryFamilyAction.Cmd,m_NAtagCMQueryFamilyAction.SubCmd))] = m_NAtagCMQueryFamilyAction
#------------------------------------------------------
# A6 02 申请加入家族#tagCMRequesJoinFamily
class  tagCMRequesJoinFamily(Structure):