From 2553f010270f9dff6f1ee1403caab4ff826e00c2 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期三, 20 三月 2019 17:12:06 +0800 Subject: [PATCH] 6374 【后端】【2.0】删除无用功能代码、封包、配置(法宝之魂) --- ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py | 52 ---------------------------------------------------- 1 files changed, 0 insertions(+), 52 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py index 910c6f7..4adb114 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetPack.py @@ -7871,58 +7871,6 @@ #------------------------------------------------------ -# A5 12 激活法宝之魂 #tagCMActiveMWSoul - -class tagCMActiveMWSoul(Structure): - _pack_ = 1 - _fields_ = [ - ("Cmd", c_ubyte), - ("SubCmd", c_ubyte), - ("ID", c_ubyte), #编号 - ] - - def __init__(self): - self.Clear() - self.Cmd = 0xA5 - self.SubCmd = 0x12 - 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 = 0xA5 - self.SubCmd = 0x12 - self.ID = 0 - return - - def GetLength(self): - return sizeof(tagCMActiveMWSoul) - - def GetBuffer(self): - return string_at(addressof(self), self.GetLength()) - - def OutputString(self): - DumpString = '''// A5 12 激活法宝之魂 //tagCMActiveMWSoul: - Cmd:%s, - SubCmd:%s, - ID:%d - '''\ - %( - self.Cmd, - self.SubCmd, - self.ID - ) - return DumpString - - -m_NAtagCMActiveMWSoul=tagCMActiveMWSoul() -ChNetPackDict[eval("0x%02x%02x"%(m_NAtagCMActiveMWSoul.Cmd,m_NAtagCMActiveMWSoul.SubCmd))] = m_NAtagCMActiveMWSoul - - -#------------------------------------------------------ # A5 49 大师天赋技能加点 #tagCMAddMasterSkillPoint class tagCMMasterSkillPoint(Structure): -- Gitblit v1.8.0