| | |
| | | import GameFuncComm
|
| | | import ChConfig
|
| | | import ShareDefine
|
| | | import PlayerOnline
|
| | |
|
| | | ## GM命令执行入口
|
| | | # @param curPlayer 当前玩家
|
| | |
| | | else:
|
| | | openFuncID = cmdList[1] if len(cmdList) > 1 else 0
|
| | | DoGMOpenFunc(curPlayer, openFuncID)
|
| | | |
| | | PlayerOnline.GetOnlinePlayer(curPlayer).ReCalcAllAttr()
|
| | | |
| | | PrintFuncOpenState(curPlayer)
|
| | | return
|
| | |
|
| | |
| | |
|
| | | GameWorld.DebugLog("GM处理任务开启功能: needMissionIDList=%s" % needMissionIDList, curPlayer.GetPlayerID())
|
| | | #最后强制触发一次
|
| | | GameFuncComm.DoFuncOpenLogic(curPlayer)
|
| | | GameFuncComm.DoFuncOpenLogic(curPlayer, checkServerDay=False)
|
| | | return
|
| | |
|
| | | def __GetOpenFuncLimit(curPlayer, openFuncIDList):
|