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

◆ SetStamina()

void PluginBase::SetStamina ( int value,
int range )
inlineprivate

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

81 {
82 // Log( String( "SetStamina" + itoa( value) ), LogTemplates.TEMPLATE_JANOSIK );
83 Mission mission = GetGame().GetMission();
84 if ( mission )
85 {
86 Hud hud = mission.GetHud();
87 if ( hud )
88 {
89 hud.SetStamina( Math.Clamp( value, 0, range ), range );
90 }
91 }
92 }
Mission mission
Определения DisplayStatus.c:28
proto native Mission GetMission()
void SetStamina(int value, int range)
Определения gameplay.c:644
Hud GetHud()
Определения gameplay.c:721
proto native CGame GetGame()

Перекрестные ссылки Math::Clamp(), GetGame(), CGame::GetMission(), mission и Hud::SetStamina().