DayZ 1.24
Loading...
Searching...
No Matches
StaminaModifierData.c File Reference

Go to the source code of this file.

Classes

class  SMDataBase
 
class  SMDataHoldBreath
 

Functions

override void Init ()
 Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
 

Variables

class SMDataBase m_BaseValue
 
float m_Exponent
 
float m_Multiplier
 
float m_Cooldown
 
float m_StartTimeAdjustment
 
float m_Duration
 

Function Documentation

◆ Init()

override void Init ( )

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)

Definition at line 30 of file StaminaModifierData.c.

31 {
36 m_StartTimeAdjustment = PlayerSwayConstants.SWAY_TIME_IN + PlayerSwayConstants.SWAY_TIME_STABLE;
38 }
float m_StartTimeAdjustment
float m_Exponent
float m_Multiplier
class SMDataBase m_BaseValue
float m_Duration
float m_Cooldown
static float GetHoldBreathStaminaModifier()
const float STAMINA_DRAIN_HOLD_BREATH_DURATION
Definition constants.c:635
const float STAMINA_DRAIN_HOLD_BREATH_EXPONENT
Definition constants.c:636
const float STAMINA_DRAIN_HOLD_BREATH_START
Definition constants.c:625
const float STAMINA_REGEN_COOLDOWN_DEPLETION
Definition constants.c:658

References CfgGameplayHandler::GetHoldBreathStaminaModifier(), m_BaseValue, m_Cooldown, m_Duration, m_Exponent, m_Multiplier, m_StartTimeAdjustment, GameConstants::STAMINA_DRAIN_HOLD_BREATH_DURATION, GameConstants::STAMINA_DRAIN_HOLD_BREATH_EXPONENT, GameConstants::STAMINA_DRAIN_HOLD_BREATH_START, and GameConstants::STAMINA_REGEN_COOLDOWN_DEPLETION.

Variable Documentation

◆ m_BaseValue

class SMDataBase m_BaseValue

Referenced by Init().

◆ m_Cooldown

float m_Cooldown

Definition at line 26 of file StaminaModifierData.c.

◆ m_Duration

float m_Duration

Definition at line 28 of file StaminaModifierData.c.

◆ m_Exponent

float m_Exponent

Definition at line 24 of file StaminaModifierData.c.

Referenced by Init().

◆ m_Multiplier

float m_Multiplier

Definition at line 25 of file StaminaModifierData.c.

◆ m_StartTimeAdjustment

float m_StartTimeAdjustment

Definition at line 27 of file StaminaModifierData.c.