| | |
| | |
|
| | | import GameWorld
|
| | | import ChPlayer
|
| | | import PlayerControl
|
| | | import PlayerFB
|
| | | import CrossRealmPlayer
|
| | |
|
| | | ## GM命令执行入口
|
| | | # @param curPlayer 当前玩家
|
| | |
| | | # @remarks 函数详细说明.
|
| | | def OnExec(curPlayer, paramList):
|
| | | tick = GameWorld.GetGameWorld().GetTick()
|
| | | |
| | | if GameWorld.IsCrossServer():
|
| | | CrossRealmPlayer.PlayerExitCrossServer(curPlayer)
|
| | | return
|
| | | |
| | | if PlayerControl.GetCustomMapID(curPlayer):
|
| | | PlayerFB.DoExitCustomScene(curPlayer)
|
| | | return
|
| | | |
| | | isAll = paramList[0] if paramList else 0
|
| | | if isAll:
|
| | | copyMapPlayerManager = GameWorld.GetMapCopyPlayerManager()
|