DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnClientReadyEvent()

void MissionBase::OnClientReadyEvent ( PlayerIdentity identity,
PlayerBase player )
inlineprotected

См. определение в файле missionServer.c строка 540

541 {
542 GetGame().SelectPlayer(identity, player);
543
544 #ifdef DIAG_DEVELOPER
545 if (FeatureTimeAccel.m_CurrentTimeAccel)
546 {
547 GetGame().RPCSingleParam(player, ERPCs.DIAG_TIMEACCEL_CLIENT_SYNC, FeatureTimeAccel.m_CurrentTimeAccel, true, identity);
548 }
549 #endif
550 }
ERPCs
Определения ERPCs.c:2
proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
proto native void SelectPlayer(PlayerIdentity identity, Object player)
Selects player's controlled object.
proto native CGame GetGame()

Перекрестные ссылки GetGame(), CGame::RPCSingleParam() и CGame::SelectPlayer().

Используется в OnEvent().