DayZ 1.24
Loading...
Searching...
No Matches
StaminaModifierData.c
Go to the documentation of this file.
1//supplemental data struct for 'StaminaModifier' class
3{
4 bool m_InUse = false;
5 int m_Type;
6
7 void SMDataBase()
8 {
9 Init();
10 }
11
13 void Init();
14
15 int GetType() { return m_Type; }
16
17 bool IsInUse() { return m_InUse; }
18 void SetInUse(bool val) { m_InUse = val; }
19}
20
21class SMDataExponential : SMDataBase
22{
29
39}
40
41class SMDataHoldBreath : SMDataExponential
42{
43
44}
float m_Duration
override Widget Init()
Definition DayZGame.c:120
float m_StartTimeAdjustment
float m_Multiplier
float m_Cooldown
float m_Exponent
class SMDataBase m_BaseValue
static float GetHoldBreathStaminaModifier()
void SetInUse(bool val)
void Init()
Used to set values for the type.
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