#!/usr/bin/python # -*- coding: GBK -*- #------------------------------------------------------------------------------- # ##@package PyMongoDB.GMToolLogicProcess.Commands.GMT_KickPlayer # # @todo:GM¹¤¾ßÃüÁî - ÌßÏÂÏß # @author hxp # @date 2026-03-06 # @version 1.0 # # ÏêϸÃèÊö: GM¹¤¾ßÃüÁî - ÌßÏÂÏß # #------------------------------------------------------------------------------- #"""Version = 2026-03-06 15:00""" #------------------------------------------------------------------------------- import GMCommon import IPY_GameWorld def OnExec(gmCmdDict): errorMsg = "" from GMToolLogicProcess import ProjSpecialProcess Result, curPlayer = ProjSpecialProcess.GMCmdPlayerValidation(gmCmdDict, False) if Result == GMCommon.Def_PlayerOfLine: return GMCommon.Def_NoNeed, "ÒÑÀëÏß" elif Result == GMCommon.Def_Success: curPlayer.Kick(IPY_GameWorld.disGMKick) return Result return Result, errorMsg