| | |
| | | import IPY_GameWorld
|
| | | import PlayerControl
|
| | | import OperControlManager
|
| | | import PlayerViewCacheTube
|
| | | import PassiveBuffEffMng
|
| | | import GameWorldProcess
|
| | | import ChNetSendPack
|
| | |
| | | import SkillShell
|
| | | import CommFunc
|
| | | import FBCommon
|
| | | import PlayerFB
|
| | | import GameMap
|
| | | import FBLogic
|
| | | import GameObj
|
| | |
| | | #ChPlayer.PlayerLogin
|
| | | #PlayerEventCounter.GameServer_InitOK(index, tick)
|
| | | #ChPlayer.LoadMapOK(index, tick)
|
| | | #GameServerRefresh.GameSever_PlayerInitOK(index, tick)
|
| | | mirrorPlayer.SendToBServerServerInitOK()
|
| | | mirrorPlayer.SetMapLoadOK(True)
|
| | | #将玩家放置在这个地图上
|
| | |
| | | #};
|
| | | def OnSycnPlayerPackData(index, clientData, tick):
|
| | | curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
|
| | | PlayerViewCacheTube.UpdateGameServerPlayerCache(curPlayer, tick, forcePackData=True)
|
| | | #PlayerViewCacheTube.UpdateGameServerPlayerCache(curPlayer, tick, forcePackData=True)
|
| | | return
|
| | |
|
| | | #// B4 11 镜像战斗 #tagCMMirrorFight
|
| | |
| | | return True
|
| | |
|
| | | # 玩家自身需要用镜像的情况
|
| | | if isSysbg and playerID and playerID in mirrorIDList:
|
| | | PlayerViewCacheTube.NormalSyncPackData(curPlayer)
|
| | | #if isSysbg and playerID and playerID in mirrorIDList:
|
| | | # PlayerViewCacheTube.NormalSyncPackData(curPlayer)
|
| | |
|
| | | sendMsg = str(sendMsg)
|
| | | GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "ReuestPlayerPackData", sendMsg, len(sendMsg))
|