From c939b30761259159d62bdc92320375310b3bb010 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 22 四月 2019 21:11:16 +0800 Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(查询副本功能线路人数信息逻辑修改,支持查询妖王地图) --- ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py | 60 ------------------------------------------------------------ 1 files changed, 0 insertions(+), 60 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py index 6075342..74be579 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py @@ -2889,66 +2889,6 @@ #------------------------------------------------------ -# A9 05 副本功能线路当前玩家数 #tagGCFBFuncLinePlayerCountInfo - -class tagGCFBFuncLinePlayerCountInfo(Structure): - _pack_ = 1 - _fields_ = [ - ("Cmd", c_ubyte), - ("SubCmd", c_ubyte), - ("MapID", c_int), - ("FuncLineID", c_ubyte), - ("PlayerCount", c_ubyte), - ] - - def __init__(self): - self.Clear() - self.Cmd = 0xA9 - 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 = 0xA9 - self.SubCmd = 0x05 - self.MapID = 0 - self.FuncLineID = 0 - self.PlayerCount = 0 - return - - def GetLength(self): - return sizeof(tagGCFBFuncLinePlayerCountInfo) - - def GetBuffer(self): - return string_at(addressof(self), self.GetLength()) - - def OutputString(self): - DumpString = '''// A9 05 副本功能线路当前玩家数 //tagGCFBFuncLinePlayerCountInfo: - Cmd:%s, - SubCmd:%s, - MapID:%d, - FuncLineID:%d, - PlayerCount:%d - '''\ - %( - self.Cmd, - self.SubCmd, - self.MapID, - self.FuncLineID, - self.PlayerCount - ) - return DumpString - - -m_NAtagGCFBFuncLinePlayerCountInfo=tagGCFBFuncLinePlayerCountInfo() -ChNetPackDict[eval("0x%02x%02x"%(m_NAtagGCFBFuncLinePlayerCountInfo.Cmd,m_NAtagGCFBFuncLinePlayerCountInfo.SubCmd))] = m_NAtagGCFBFuncLinePlayerCountInfo - - -#------------------------------------------------------ # A9 A9 通知好友互赠精力信息 #tagGCFriendSendEnergyInfo class tagGCFriendSendEnergyInfo(Structure): -- Gitblit v1.8.0