#!/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