hxp
2025-12-05 c2c30fce8df5dc5ea69f4f93bc9a6c655b2928cd
376 【福利】兑换码
1个文件已修改
1个文件已添加
40 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/Commands/GMT_MediaCard.py 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/ProjSpecialProcess.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/Commands/GMT_MediaCard.py
New file
@@ -0,0 +1,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
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/ProjSpecialProcess.py
@@ -326,6 +326,7 @@
                execType = ret[0]
                execInfo = ret[1]
        else:
            mylog.info("no gm cmd -> %s" % self.funcName)
            execType = GMCommon.Def_GMCmdNone
            
        GetGMOrderMgr().PopCmd(self.orderId)