160 float m_PostponeTime = -1;
164 bool m_StaminaUpEndPlayed =
true;
185 m_StaminaUpEndPlayed =
false;
190 m_StaminaUpEndPlayed =
false;
195 m_StaminaUpEndPlayed =
false;
200 m_StaminaUpEndPlayed =
false;
205 m_StaminaUpEndPlayed =
true;
ref Timer m_ClientCharacterDistanceCheck
class PlayerSoundManagerServer extends PlayerSoundManagerBase m_ClientCharacterTick
enum eStaminaZones ZONE1_DOWN
const float STAMINA_SOUND_TR1
enum eStaminaZones ZONE1_UP
eStaminaZones GetZone(float stamina)
void SoundHandlerBase(PlayerBase player)
const float STAMINA_SOUND_TR2
void SetStaminaZoneOffset(int zone_offset)
enum eStaminaZones ZONE2_DOWN
const float TICK_INTERVAL
enum eStaminaZones ZONE0_DOWN
enum eStaminaZones ZONE2_UP
enum eStaminaZones ZONE0_UP
class StaminaSoundHandlerBase extends SoundHandlerBase m_Stamina
StaminaHandler m_StaminaHandler
bool PlaySoundEvent(EPlayerSoundEventID id, bool from_anim_system=false, bool is_from_server=false)
eStaminaState GetStaminaState(eStaminaTendency tendency, eStaminaZones zone)
void PostponeStamina(float time)
bool m_UpdateTimerRunning
proto native CGame GetGame()
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...