|
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) |
|