| | |
| | | import GameWorld
|
| | | import MirrorAttack
|
| | | import PlayerViewCacheTube
|
| | | import PyGameData
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | | # @param query_Type 请求类型
|
| | |
| | | if msgType == "MirrorBattle":
|
| | | curPlayer = None
|
| | | playerID = msgInfo.get("playerID", 0)
|
| | | isChangeMap = msgInfo.get("isChangeMap", 0)
|
| | | # 是切图的战斗
|
| | | if isChangeMap and playerID:
|
| | | PyGameData.g_playerReqEnterFBEx[playerID] = [msgInfo, packDataDict]
|
| | | curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(playerID)
|
| | | MirrorAttack.OnMirrorBattleEnterMapInit(curPlayer, tick)
|
| | | return
|
| | | |
| | | if playerID:
|
| | | curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(playerID)
|
| | | if not curPlayer or curPlayer.IsEmpty():
|