| | |
| | | import PlayerControl
|
| | | import FBCommon
|
| | | import ChConfig
|
| | | import PlayerFB
|
| | |
|
| | |
|
| | | ## GM命令执行入口
|
| | |
| | | posY = paramList[3] if len(paramList) > 3 else 0
|
| | | if FBCommon.GetFBPDictValue(curPlayer, ChConfig.Def_PDict_LastEnterFBTick % mapID):
|
| | | FBCommon.SetFBPDictValue(curPlayer, ChConfig.Def_PDict_LastEnterFBTick % mapID, 0)
|
| | | if mapID in ChConfig.Def_CrossMapIDList:
|
| | | |
| | | tick = GameWorld.GetGameWorld().GetTick()
|
| | | if mapID in ChConfig.ClientCustomScene:
|
| | | PlayerFB.DoEnterCustomScene(curPlayer, mapID, lineID, tick)
|
| | | elif mapID in ChConfig.Def_CrossMapIDList:
|
| | | PlayerControl.PlayerEnterCrossServer(curPlayer, mapID, lineID)
|
| | | else:
|
| | | PlayerControl.PlayerEnterFB(curPlayer, mapID, lineID, posX, posY)
|