ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -7943,58 +7943,6 @@
#------------------------------------------------------
# AE 05 镖车开始时间 #tagGCTruckStartTime
class  tagGCTruckStartTime(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("StartTime", c_int),
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xAE
        self.SubCmd = 0x05
        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 = 0xAE
        self.SubCmd = 0x05
        self.StartTime = 0
        return
    def GetLength(self):
        return sizeof(tagGCTruckStartTime)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// AE 05 镖车开始时间 //tagGCTruckStartTime:
                                Cmd:%s,
                                SubCmd:%s,
                                StartTime:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.StartTime
                                )
        return DumpString
m_NAtagGCTruckStartTime=tagGCTruckStartTime()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagGCTruckStartTime.Cmd,m_NAtagGCTruckStartTime.SubCmd))] = m_NAtagGCTruckStartTime
#------------------------------------------------------
# B0 01 新增协助 #tagGCAssistInfoList
class  tagGCAssistInfo(Structure):
@@ -23742,62 +23690,6 @@
m_NAtagMCAttrFruitEatCntList=tagMCAttrFruitEatCntList()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCAttrFruitEatCntList.Head.Cmd,m_NAtagMCAttrFruitEatCntList.Head.SubCmd))] = m_NAtagMCAttrFruitEatCntList
#------------------------------------------------------
# A3 24 通知绑玉转盘结果 #tagMCBindJadeWheelResult
class  tagMCBindJadeWheelResult(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("Index", c_ubyte),    # 格子
                  ("Cnt", c_ubyte),    #今日已转次数
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xA3
        self.SubCmd = 0x24
        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 = 0x24
        self.Index = 0
        self.Cnt = 0
        return
    def GetLength(self):
        return sizeof(tagMCBindJadeWheelResult)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// A3 24 通知绑玉转盘结果 //tagMCBindJadeWheelResult:
                                Cmd:%s,
                                SubCmd:%s,
                                Index:%d,
                                Cnt:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.Index,
                                self.Cnt
                                )
        return DumpString
m_NAtagMCBindJadeWheelResult=tagMCBindJadeWheelResult()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCBindJadeWheelResult.Cmd,m_NAtagMCBindJadeWheelResult.SubCmd))] = m_NAtagMCBindJadeWheelResult
#------------------------------------------------------
@@ -53864,58 +53756,6 @@
#------------------------------------------------------
# AB 23 摇骰子奖励回包 #tagMCDiceAward
class  tagMCDiceAward(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("AwardCnt", c_ubyte),    # 太极数量
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xAB
        self.SubCmd = 0x23
        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 = 0xAB
        self.SubCmd = 0x23
        self.AwardCnt = 0
        return
    def GetLength(self):
        return sizeof(tagMCDiceAward)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// AB 23 摇骰子奖励回包 //tagMCDiceAward:
                                Cmd:%s,
                                SubCmd:%s,
                                AwardCnt:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.AwardCnt
                                )
        return DumpString
m_NAtagMCDiceAward=tagMCDiceAward()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCDiceAward.Cmd,m_NAtagMCDiceAward.SubCmd))] = m_NAtagMCDiceAward
#------------------------------------------------------
# AB 25 节日红包信息 #tagMCFeastRedPackInfo
class  tagMCFeastRedPackInfo(Structure):
@@ -54213,370 +54053,6 @@
m_NAtagMCRefineGiftInfo=tagMCRefineGiftInfo()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCRefineGiftInfo.Cmd,m_NAtagMCRefineGiftInfo.SubCmd))] = m_NAtagMCRefineGiftInfo
#------------------------------------------------------
# AB 22 摇骰子结果 #tagMCDiceExResult
class  tagMCDiceExResult(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("ResultNum", c_int),    # 骰子结果
                  ("DiceType", c_ubyte),    # 0-正常 1-改投 2-重置
                  ("UseFreeCnt", c_ubyte),    # 改投使用次数
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xAB
        self.SubCmd = 0x22
        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 = 0xAB
        self.SubCmd = 0x22
        self.ResultNum = 0
        self.DiceType = 0
        self.UseFreeCnt = 0
        return
    def GetLength(self):
        return sizeof(tagMCDiceExResult)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// AB 22 摇骰子结果 //tagMCDiceExResult:
                                Cmd:%s,
                                SubCmd:%s,
                                ResultNum:%d,
                                DiceType:%d,
                                UseFreeCnt:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.ResultNum,
                                self.DiceType,
                                self.UseFreeCnt
                                )
        return DumpString
m_NAtagMCDiceExResult=tagMCDiceExResult()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCDiceExResult.Cmd,m_NAtagMCDiceExResult.SubCmd))] = m_NAtagMCDiceExResult
#------------------------------------------------------
# AE 04 自动运镖状态#tagPyAutoTruckState
class  tagPyAutoTruckState(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("State", c_ubyte),
                  ("Result", c_ubyte),    #成功/失败
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xAE
        self.SubCmd = 0x04
        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 = 0xAE
        self.SubCmd = 0x04
        self.State = 0
        self.Result = 0
        return
    def GetLength(self):
        return sizeof(tagPyAutoTruckState)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// AE 04 自动运镖状态//tagPyAutoTruckState:
                                Cmd:%s,
                                SubCmd:%s,
                                State:%d,
                                Result:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.State,
                                self.Result
                                )
        return DumpString
m_NAtagPyAutoTruckState=tagPyAutoTruckState()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagPyAutoTruckState.Cmd,m_NAtagPyAutoTruckState.SubCmd))] = m_NAtagPyAutoTruckState
#------------------------------------------------------
# AE 01 可召唤镖车等级#tagPyCanSummonTruckLV
class  tagPyCanSummonTruckLV(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("TruckLV", c_ubyte),    #镖车等级
                  ("FreeCnt", c_ubyte),    #当日已免费刷新次数
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xAE
        self.SubCmd = 0x01
        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 = 0xAE
        self.SubCmd = 0x01
        self.TruckLV = 0
        self.FreeCnt = 0
        return
    def GetLength(self):
        return sizeof(tagPyCanSummonTruckLV)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// AE 01 可召唤镖车等级//tagPyCanSummonTruckLV:
                                Cmd:%s,
                                SubCmd:%s,
                                TruckLV:%d,
                                FreeCnt:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.TruckLV,
                                self.FreeCnt
                                )
        return DumpString
m_NAtagPyCanSummonTruckLV=tagPyCanSummonTruckLV()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagPyCanSummonTruckLV.Cmd,m_NAtagPyCanSummonTruckLV.SubCmd))] = m_NAtagPyCanSummonTruckLV
#------------------------------------------------------
# AE 02 劫镖次数#tagPyDestroyTruckCnt
class  tagPyDestroyTruckCnt(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("Count", c_ubyte),
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xAE
        self.SubCmd = 0x02
        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 = 0xAE
        self.SubCmd = 0x02
        self.Count = 0
        return
    def GetLength(self):
        return sizeof(tagPyDestroyTruckCnt)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// AE 02 劫镖次数//tagPyDestroyTruckCnt:
                                Cmd:%s,
                                SubCmd:%s,
                                Count:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.Count
                                )
        return DumpString
m_NAtagPyDestroyTruckCnt=tagPyDestroyTruckCnt()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagPyDestroyTruckCnt.Cmd,m_NAtagPyDestroyTruckCnt.SubCmd))] = m_NAtagPyDestroyTruckCnt
#------------------------------------------------------
# AE 06 运镖奖励 #tagMCTruckAward
class  tagMCTruckAward(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("AwardType", c_ubyte),    # 奖励类型,0-运镖;1-劫镖
                  ("Exp", c_int),
                  ("ExpPoint", c_int),
                  ("ZhenQi", c_int),
                  ("Prestige", c_int),
                  ("MoneyType", c_ubyte),
                  ("MoneyCnt", c_int),
                  ("IsDestroy", c_ubyte),    # 是否被劫
                  ("IsDouble", c_ubyte),    # 是否双倍
                  ("IsTimeOut", c_ubyte),    # 是否超时
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xAE
        self.SubCmd = 0x06
        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 = 0xAE
        self.SubCmd = 0x06
        self.AwardType = 0
        self.Exp = 0
        self.ExpPoint = 0
        self.ZhenQi = 0
        self.Prestige = 0
        self.MoneyType = 0
        self.MoneyCnt = 0
        self.IsDestroy = 0
        self.IsDouble = 0
        self.IsTimeOut = 0
        return
    def GetLength(self):
        return sizeof(tagMCTruckAward)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// AE 06 运镖奖励 //tagMCTruckAward:
                                Cmd:%s,
                                SubCmd:%s,
                                AwardType:%d,
                                Exp:%d,
                                ExpPoint:%d,
                                ZhenQi:%d,
                                Prestige:%d,
                                MoneyType:%d,
                                MoneyCnt:%d,
                                IsDestroy:%d,
                                IsDouble:%d,
                                IsTimeOut:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.AwardType,
                                self.Exp,
                                self.ExpPoint,
                                self.ZhenQi,
                                self.Prestige,
                                self.MoneyType,
                                self.MoneyCnt,
                                self.IsDestroy,
                                self.IsDouble,
                                self.IsTimeOut
                                )
        return DumpString
m_NAtagMCTruckAward=tagMCTruckAward()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCTruckAward.Cmd,m_NAtagMCTruckAward.SubCmd))] = m_NAtagMCTruckAward
#------------------------------------------------------
# AE 03 镖车状态模式#tagPyTruckMode
class  tagPyTruckMode(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ("TruckMode", c_ubyte),
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xAE
        self.SubCmd = 0x03
        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 = 0xAE
        self.SubCmd = 0x03
        self.TruckMode = 0
        return
    def GetLength(self):
        return sizeof(tagPyTruckMode)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// AE 03 镖车状态模式//tagPyTruckMode:
                                Cmd:%s,
                                SubCmd:%s,
                                TruckMode:%d
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd,
                                self.TruckMode
                                )
        return DumpString
m_NAtagPyTruckMode=tagPyTruckMode()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagPyTruckMode.Cmd,m_NAtagPyTruckMode.SubCmd))] = m_NAtagPyTruckMode
#------------------------------------------------------