![]() |
Dayz Explorer 1.28.160049
|
Go to the source code of this file.
Classes | |
| class | StaminaConsumers |
| class | StaminaModifierExponential |
| class | StaminaHandler |
Enumerations | |
| enum | EStaminaMultiplierTypes |
Functions | |
| void | StaminaConsumer (float threshold, float threshold2, bool state) |
| bool | GetState () |
| returns one of STATE_... | |
| void | SetState (bool state) |
| float | GetActivationThreshold () |
| void | SetActivationThreshold (float threshold) |
| float | GetDrainThreshold () |
| void | SetDrainThreshold (float threshold) |
| void | StaminaConsumers () |
| void | RegisterConsumer (EStaminaConsumers consumer, float threshold, float depletion_threshold=-1) |
| bool | HasEnoughStaminaFor (EStaminaConsumers consumer, float curStamina, bool isDepleted, float cap) |
| bool | HasEnoughStaminaToStart (EStaminaConsumers consumer, float curStamina, bool isDepleted, float cap) |
| void | StaminaModifier (int type, float min, float max, float cooldown, float startTime=0, float duration=0) |
| int | GetType () |
| float | GetMinValue () |
| void | SetMinValue (float val) |
| float | GetMaxValue () |
| void | SetMaxValue (float val) |
| float | GetCooldown () |
| void | SetCooldown (float val) |
| float | GetStartTime () |
| void | SetStartTime (float val) |
| float | GetStartTimeAdjustment () |
| float | GetDuration () |
| float | GetDurationAdjusted () |
| bool | IsInUse () |
| void | SetInUse (bool val) |
| float | GetRunTime () |
| void | AddRunTime (float val) |
| void | SetRunTimeTick (float val) |
| void | ResetRunTime () |
| void | StaminaModifiers () |
| void | RegisterFixed (EStaminaModifiers modifier, float value, float cooldown=GameConstants.STAMINA_REGEN_COOLDOWN_DEPLETION) |
| register single value modifier - depletes stamina for that value | |
| void | RegisterRandomized (EStaminaModifiers modifier, float minValue, float maxValue, float cooldown=GameConstants.STAMINA_REGEN_COOLDOWN_DEPLETION) |
| register randomized modifier - stamina will be depleted by value between min and max value; | |
| void | RegisterLinear (EStaminaModifiers modifier, float startValue, float endValue, float startTime, float duration, float cooldown=GameConstants.STAMINA_REGEN_COOLDOWN_DEPLETION) |
| register lerped modifier - depletes stamina for startValue, and, after a startTime, lerps to endValue over duration | |
| void | RegisterExponential (EStaminaModifiers modifier, float startValue, float exponent, float startTime, float duration, float cooldown=GameConstants.STAMINA_REGEN_COOLDOWN_DEPLETION) |
| register exponential modifier - depletes stamina for startValue, and, after a startTime, lerps from 0 to exponent over duration | |
| void | RegisterExponentialEx (EStaminaModifiers modifier, SMDataExponential data) |
| register exponential modifier, extended parameters | |
| StaminaModifier | GetModifierData (EStaminaModifiers modifier) |
Variables | |
| MASK = 1 | |
| FATIGUE | |
| EPINEPHRINE | |
| DROWNING | |
| VOMIT_EXHAUSTION | |
| DISEASE_PNEUMONIA | |
| m_ActivationThreshold | |
| bool | m_State |
| ref map< EStaminaConsumers, ref StaminaConsumer > | m_StaminaConsumers |
| m_InUse = false | |
| int | m_Type |
| float | m_MinValue |
| float | m_MaxValue |
| float | m_Multiplier |
| float | m_Cooldown |
| float | m_StartTime |
| float | m_StartTimeAdjustment |
| float | m_Duration |
| float | m_ProgressTime |
| float | m_Tick |
| StaminaModifierExponential | FIXED = 0 |
| const int | RANDOMIZED = 1 |
| const int | LINEAR = 2 |
| const int | EXPONENTIAL = 3 |
| ref map< EStaminaModifiers, ref StaminaModifier > | m_StaminaModifiers |
Definition at line 1 of file staminahandler.c.
|
protected |
Definition at line 175 of file staminahandler.c.
|
protected |
Definition at line 34 of file staminahandler.c.
|
protected |
Definition at line 160 of file staminahandler.c.
|
protected |
Definition at line 37 of file staminahandler.c.
|
protected |
Definition at line 168 of file staminahandler.c.
|
protected |
Definition at line 169 of file staminahandler.c.
|
protected |
Definition at line 157 of file staminahandler.c.
|
protected |
Definition at line 154 of file staminahandler.c.
|
protected |
Definition at line 253 of file staminahandler.c.
|
protected |
Definition at line 174 of file staminahandler.c.
|
protected |
Definition at line 163 of file staminahandler.c.
|
protected |
Definition at line 166 of file staminahandler.c.
|
protected |
returns one of STATE_...
returns the state of climb (enum value of ClimbStates);
Definition at line 31 of file staminahandler.c.
|
protected |
Definition at line 152 of file staminahandler.c.
|
protected |
Definition at line 65 of file staminahandler.c.
|
protected |
Definition at line 105 of file staminahandler.c.
|
protected |
Definition at line 171 of file staminahandler.c.
|
protected |
init of StaminaConsumer - threshold, state
Definition at line 50 of file staminahandler.c.
|
protected |
register exponential modifier - depletes stamina for startValue, and, after a startTime, lerps from 0 to exponent over duration
Definition at line 239 of file staminahandler.c.
|
protected |
register exponential modifier, extended parameters
Definition at line 246 of file staminahandler.c.
|
protected |
register single value modifier - depletes stamina for that value
init of StaminaModifier - type and min, max values (min is not relevant for that type)
Definition at line 210 of file staminahandler.c.
|
protected |
register lerped modifier - depletes stamina for startValue, and, after a startTime, lerps to endValue over duration
Definition at line 232 of file staminahandler.c.
|
protected |
register randomized modifier - stamina will be depleted by value between min and max value;
init of StaminaModifier - type, min, max values
Definition at line 221 of file staminahandler.c.
|
protected |
Definition at line 177 of file staminahandler.c.
|
protected |
Definition at line 35 of file staminahandler.c.
|
protected |
Definition at line 161 of file staminahandler.c.
|
protected |
Definition at line 38 of file staminahandler.c.
|
protected |
Definition at line 172 of file staminahandler.c.
|
protected |
Definition at line 158 of file staminahandler.c.
|
protected |
Definition at line 155 of file staminahandler.c.
|
protected |
Definition at line 176 of file staminahandler.c.
|
protected |
Definition at line 164 of file staminahandler.c.
|
protected |
Definition at line 32 of file staminahandler.c.
Definition at line 24 of file staminahandler.c.
|
protected |
Definition at line 45 of file staminahandler.c.
|
protected |
Definition at line 141 of file staminahandler.c.
|
protected |
Definition at line 204 of file staminahandler.c.
| DISEASE_PNEUMONIA |
Definition at line 8 of file staminahandler.c.
| @ DROWNING |
Definition at line 6 of file staminahandler.c.
| EPINEPHRINE |
Definition at line 5 of file staminahandler.c.
|
protected |
Definition at line 200 of file staminahandler.c.
| FATIGUE |
Definition at line 4 of file staminahandler.c.
|
protected |
|
protected |
Definition at line 199 of file staminahandler.c.
| m_ActivationThreshold |
|
protected |
Definition at line 139 of file staminahandler.c.
|
protected |
Definition at line 139 of file staminahandler.c.
|
protected |
|
protected |
Definition at line 139 of file staminahandler.c.
|
protected |
Definition at line 139 of file staminahandler.c.
|
protected |
Definition at line 139 of file staminahandler.c.
|
protected |
Definition at line 139 of file staminahandler.c.
|
protected |
Definition at line 43 of file staminahandler.c.
|
protected |
Definition at line 202 of file staminahandler.c.
|
protected |
Definition at line 139 of file staminahandler.c.
|
protected |
Definition at line 139 of file staminahandler.c.
|
protected |
Definition at line 22 of file staminahandler.c.
|
protected |
Definition at line 139 of file staminahandler.c.
|
protected |
Definition at line 138 of file staminahandler.c.
| MASK = 1 |
Definition at line 3 of file staminahandler.c.
|
protected |
Definition at line 198 of file staminahandler.c.
| VOMIT_EXHAUSTION |
Definition at line 7 of file staminahandler.c.