hxp
2025-06-12 edc3910a9d090e5df4deb2dbc37709a740375938
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -44100,8 +44100,10 @@
    _pack_ = 1
    _fields_ = [
                  ("HeroID", c_int),    # 武将ID
                  ("IsActive", c_ubyte),    # 是否已激活
                  ("SkinState", c_int),    # 武将皮肤已解锁状态信息,按皮肤所在索引二进制位运算判断是否解锁,0索引位默认皮肤,不用验证
                  ("BookInitState", c_ubyte),    # 图鉴激活状态:0-未激活;1-可激活;2-已激活
                  ("BookStarLV", c_ushort),    # 图鉴星级等级
                  ("BookBreakLV", c_ushort),    # 图鉴突破等级
                  ]
    def __init__(self):
@@ -44115,8 +44117,10 @@
    def Clear(self):
        self.HeroID = 0
        self.IsActive = 0
        self.SkinState = 0
        self.BookInitState = 0
        self.BookStarLV = 0
        self.BookBreakLV = 0
        return
    def GetLength(self):
@@ -44128,13 +44132,17 @@
    def OutputString(self):
        DumpString = '''// B1 22 武将信息 //tagSCHeroInfo:
                                HeroID:%d,
                                IsActive:%d,
                                SkinState:%d
                                SkinState:%d,
                                BookInitState:%d,
                                BookStarLV:%d,
                                BookBreakLV:%d
                                '''\
                                %(
                                self.HeroID,
                                self.IsActive,
                                self.SkinState
                                self.SkinState,
                                self.BookInitState,
                                self.BookStarLV,
                                self.BookBreakLV
                                )
        return DumpString