From 8b1a20abf619133e66b876adb8583fe00fc3fd0a Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期三, 06 三月 2019 10:07:46 +0800 Subject: [PATCH] 6307 【后端】【2.0】多套装备开发单(删除旧套装) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py | 112 -------------------------------------------------------- 1 files changed, 0 insertions(+), 112 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py index e98ec90..0dbc6c9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py @@ -7034,118 +7034,6 @@ #------------------------------------------------------ -#A3 17 套装合成#tagCMSuitCompose - -class tagCMSuitCompose(Structure): - _pack_ = 1 - _fields_ = [ - ("Cmd", c_ubyte), - ("SubCmd", c_ubyte), - ("SuiteType", c_ubyte), # 套装类型 1普通 2强化 - ("EquipPlace", c_ubyte), # 装备位置 - ] - - def __init__(self): - self.Clear() - self.Cmd = 0xA3 - 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 = 0xA3 - self.SubCmd = 0x17 - self.SuiteType = 0 - self.EquipPlace = 0 - return - - def GetLength(self): - return sizeof(tagCMSuitCompose) - - def GetBuffer(self): - return string_at(addressof(self), self.GetLength()) - - def OutputString(self): - DumpString = '''//A3 17 套装合成//tagCMSuitCompose: - Cmd:%s, - SubCmd:%s, - SuiteType:%d, - EquipPlace:%d - '''\ - %( - self.Cmd, - self.SubCmd, - self.SuiteType, - self.EquipPlace - ) - return DumpString - - -m_NAtagCMSuitCompose=tagCMSuitCompose() -ChNetPackDict[eval("0x%02x%02x"%(m_NAtagCMSuitCompose.Cmd,m_NAtagCMSuitCompose.SubCmd))] = m_NAtagCMSuitCompose - - -#------------------------------------------------------ -# A3 08 套装拆解 #tagCMSuiteDecompose - -class tagCMSuiteDecompose(Structure): - _pack_ = 1 - _fields_ = [ - ("Cmd", c_ubyte), - ("SubCmd", c_ubyte), - ("EquipPlace", c_ubyte), #部位索引 - ("SuiteType", c_ubyte), #套装类型 0代表全部类型 - ] - - def __init__(self): - self.Clear() - self.Cmd = 0xA3 - self.SubCmd = 0x08 - 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 = 0x08 - self.EquipPlace = 0 - self.SuiteType = 0 - return - - def GetLength(self): - return sizeof(tagCMSuiteDecompose) - - def GetBuffer(self): - return string_at(addressof(self), self.GetLength()) - - def OutputString(self): - DumpString = '''// A3 08 套装拆解 //tagCMSuiteDecompose: - Cmd:%s, - SubCmd:%s, - EquipPlace:%d, - SuiteType:%d - '''\ - %( - self.Cmd, - self.SubCmd, - self.EquipPlace, - self.SuiteType - ) - return DumpString - - -m_NAtagCMSuiteDecompose=tagCMSuiteDecompose() -ChNetPackDict[eval("0x%02x%02x"%(m_NAtagCMSuiteDecompose.Cmd,m_NAtagCMSuiteDecompose.SubCmd))] = m_NAtagCMSuiteDecompose - - -#------------------------------------------------------ #A3 20 将魔方背包中的物品转移到人物背包中 #tagCMMagicItemPutInItemPack class tagCMMagicItemPutInItemPack(Structure): -- Gitblit v1.8.0