xdh
2019-02-22 c04a87b2679e8561dcbe3fad845e169a27f1ec46
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py
@@ -5015,6 +5015,54 @@
#------------------------------------------------------
# A2 32 神秘商店刷新 #tagCMRefreshMysticalShop
class  tagCMRefreshMysticalShop(Structure):
    _pack_ = 1
    _fields_ = [
                  ("Cmd", c_ubyte),
                  ("SubCmd", c_ubyte),
                  ]
    def __init__(self):
        self.Clear()
        self.Cmd = 0xA2
        self.SubCmd = 0x32
        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 = 0xA2
        self.SubCmd = 0x32
        return
    def GetLength(self):
        return sizeof(tagCMRefreshMysticalShop)
    def GetBuffer(self):
        return string_at(addressof(self), self.GetLength())
    def OutputString(self):
        DumpString = '''// A2 32 神秘商店刷新 //tagCMRefreshMysticalShop:
                                Cmd:%s,
                                SubCmd:%s
                                '''\
                                %(
                                self.Cmd,
                                self.SubCmd
                                )
        return DumpString
m_NAtagCMRefreshMysticalShop=tagCMRefreshMysticalShop()
ChNetPackDict[eval("0x%02x%02x"%(m_NAtagCMRefreshMysticalShop.Cmd,m_NAtagCMRefreshMysticalShop.SubCmd))] = m_NAtagCMRefreshMysticalShop
#------------------------------------------------------
# A2 14 刷新定时神秘商店物品#tagCMRefreshShopItem
class  tagCMRefreshShopItem(Structure):