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

◆ OnPlayerLoaded() [2/2]

override void Hud::OnPlayerLoaded ( )
inlineprotected

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

347 {
348 PlayerBase player = PlayerBase.Cast(GetGame().GetPlayer());
349 if (!player)
350 Error("OnPlayerLoaded: Cannot retreive player");
351
352 if (!player.IsUnconscious()) // uncon stop is not called when player respawns
354
355 player.GetOnUnconsciousStart().Insert(OnUnconsciousStart);
356 player.GetOnUnconsciousStop().Insert(OnUnconsciousStop);
357 }
PlayerBase GetPlayer()
Определения ModifierBase.c:51
void OnUnconsciousStop()
Определения IngameHud.c:364
void OnUnconsciousStart()
Определения IngameHud.c:359
proto native CGame GetGame()
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

Перекрестные ссылки Error(), GetGame(), GetPlayer(), OnUnconsciousStart() и OnUnconsciousStop().