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

◆ StaminaConsumer()

void StaminaConsumer ( float threshold,
float threshold2,
bool state )
protected

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

25 {
26 m_ActivationThreshold = threshold; //can be activated if above this threshold
27 m_DrainThreshold = threshold2; //can continually drain until it reaches this threshold
28 m_State = state;
29 }
enum EObjectTemperatureState m_State
m_ActivationThreshold

Перекрестные ссылки m_ActivationThreshold и m_State.

Используется в StaminaConsumers::HasEnoughStaminaFor(), StaminaConsumers::HasEnoughStaminaToStart() и StaminaConsumers::RegisterConsumer().