hxp
2026-03-06 e4a73fcd808bcf5e22099b73f2bc98e8b6ee84c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/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