| | |
| | | import PlayerRefineStove
|
| | | import PlayerFamilyTech
|
| | | import PlayerCostRebate
|
| | | import GY_Query_CrossRealmReg
|
| | | import PlayerFairyCeremony
|
| | | import PlayerCrossRealmPK
|
| | | import FunctionNPCCommon
|
| | |
| | |
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | | def PlayerEnterCrossServer(curPlayer, mapID):
|
| | | playerID = curPlayer.GetPlayerID()
|
| | | GameWorld.Log("玩家请求进入跨服地图: mapID=%s" % (mapID), playerID)
|
| | | if GameWorld.IsCrossServer():
|
| | | GameWorld.DebugLog("跨服服务器不允许该操作!")
|
| | | return
|
| | | |
| | | if not CrossRealmPlayer.IsCrossServerOpen():
|
| | | NotifyCode(curPlayer, "CrossMatching18")
|
| | | return
|
| | | |
| | | GY_Query_CrossRealmReg.RegisterEnterCrossServer(curPlayer, mapID)
|
| | | return
|
| | |
|
| | | ##玩家进入副本
|
| | | # @param curPlayer 玩家实例
|
| | | # @param mapID 地图ID
|