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
33
34
35
36
37
38
39
#!/usr/bin/python
# -*- coding: GBK -*-
#-------------------------------------------------------------------------------
#
##@package PyMongoDB.GMToolLogicProcess.Commands.GMT_MediaCard
#
# @todo:GM¹¤¾ßÃüÁî - Ã½Ì忨
# @author hxp
# @date 2025-12-05
# @version 1.0
#
# ÏêϸÃèÊö: GM¹¤¾ßÃüÁî - Ã½Ì忨£¬ÏÖÔÚÒÑÖ±½ÓʹÓÃÓʼþ·¢·Å½±Àø£¬¸ÃÃüÁîĿǰ½öÓÃÓÚʹÓÃʧ°ÜµÄÌáʾÓÃ
#
#-------------------------------------------------------------------------------
#"""Version = 2025-12-05 15:30"""
#-------------------------------------------------------------------------------
 
import GMCommon
from Player import (PlayerControl)
 
## ÊÕµ½gmÃüÁîÖ´ÐÐ
# @param gmCmdDict:gmÃüÁî×Öµä
# @return None 
def OnExec(gmCmdDict):
    
    from GMToolLogicProcess import  ProjSpecialProcess
    Result, curPlayer = ProjSpecialProcess.GMCmdPlayerValidation(gmCmdDict, False)
    if Result != GMCommon.Def_Success:
        return Result
    if not curPlayer:
        # Íæ¼Ò²»ÔÚÏߣ¬½öϵͳÌáʾÓ㬿ɲ»´¦Àí
        return Result
    
    notifyMsg = gmCmdDict.get('notifyMsg', '')
    if notifyMsg:
        PlayerControl.NotifyCode(curPlayer, notifyMsg)
        
    return GMCommon.Def_Success