From e5d9e13d80e43fb89e00cc9e0ffafcb25e36e435 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 27 三月 2019 16:55:12 +0800 Subject: [PATCH] 6373 【后端】【2.0】删除无用功能代码、封包、配置(页游领地争夺战) --- ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_GetPlayerFuncInfo.py | 26 ++++++++------------------ 1 files changed, 8 insertions(+), 18 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_GetPlayerFuncInfo.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_GetPlayerFuncInfo.py index 586a28f..d6d787b 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_GetPlayerFuncInfo.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_GetPlayerFuncInfo.py @@ -16,7 +16,6 @@ #导入 import GMCommon import ChConfig -import PlayerManorWar #--------------------------------------------------------------------- #全局变量 @@ -33,24 +32,15 @@ queryType = gmCmdDict.get(GMCommon.Def_GMKey_QueryType, '') queryKey = gmCmdDict.get(GMCommon.Def_GMKey_FuncKey, '') + if queryType == 'accID': + #玩家账户 [] + GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByAccID, orderId, + playerFind, gmCmdDict, 'GetPlayerFuncInfo', [orderId,queryKey], False) + return - if queryKey in ['ManorWar']: - queryResult = 0 - if queryKey == 'ManorWar': - queryResult = PlayerManorWar.GetManorWarFirstOrderInfo() - - #执行成功 - GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_Success, queryResult) - else: - if queryType == 'accID': - #玩家账户 [] - GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByAccID, orderId, - playerFind, gmCmdDict, 'GetPlayerFuncInfo', [orderId,queryKey], False) - return - - #玩家名字 [] - GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByName, orderId, - playerFind, gmCmdDict, 'GetPlayerFuncInfo', [orderId,queryKey], False) + #玩家名字 [] + GMCommon.GMTool_MapServer_Query(ChConfig.queryType_sqtPlayerByName, orderId, + playerFind, gmCmdDict, 'GetPlayerFuncInfo', [orderId,queryKey], False) return -- Gitblit v1.8.0