Защищенные члены | |
| void | StaminaHandler (PlayerBase player) |
| void | Init () |
| void | ActivateDepletionModifier (EStaminaMultiplierTypes type) |
| void | DeactivateDepletionModifier (EStaminaMultiplierTypes type) |
| void | RecalculateDepletionMultiplier () |
| void | ActivateRecoveryModifier (EStaminaMultiplierTypes type) |
| void | DeactivateRecoveryModifier (EStaminaMultiplierTypes type) |
| void | RecalculateRecoveryMultiplier () |
| void | Update (float deltaT, int pCurrentCommandID) |
| void | OnRPC (float stamina, float stamina_cap, bool cooldown) |
| deprecated use, StaminaHandler uses SyncJunctures now | |
| void | OnSyncJuncture (int pJunctureID, ParamsReadContext pCtx) |
| called from PlayerBase - syncs stamina values on server with client AND sets the value to match on server and client both (m_StaminaSynced guarantees identical values) | |
| void | StaminaProcessor_Move (HumanMovementState pHumanMovementState) |
| void | StaminaProcessor_Ladder (HumanMovementState pHumanMovementState) |
| void | StaminaProcessor_Swimming (HumanMovementState pHumanMovementState) |
| void | SyncStamina (float stamina, float stamina_cap, bool cooldown) |
| stamina sync - server part | |
| void | SyncAdditionalStaminaInfo (Param par) |
| Method to sync more info for stamina manager. Template parameter means it is very extendable for further use. | |
| void | ReadAdditionalStaminaInfo (ParamsReadContext pCtx) |
| Order of read parameters must match the order of writing above. | |
| void | RegisterStaminaConsumers () |
| void | RegisterStaminaModifiers () |
| float | CalcStaminaGainBonus () |
| Calulates stamina regain bonus coef based on current stamina cap and level. | |
| void | ApplyExhaustion () |
| void | CheckStaminaState () |
| check if the stamina is completely depleted | |
| void | SetCooldown (float time, int modifier=-1) |
| set cooldown timer between each consume of stamina | |
| void | ResetCooldown (int modifier=-1) |
| Timer | GetCooldownTimer (int modifier) |
| bool | HasEnoughStaminaFor (EStaminaConsumers consumer) |
| bool | HasEnoughStaminaToStart (EStaminaConsumers consumer) |
| void | SetStamina (float stamina_value) |
| float | GetStamina () |
| float | GetStaminaNormalized () |
| float | GetSyncedStamina () |
| float | GetSyncedStaminaNormalized () |
| float | GetStaminaCap () |
| float | GetStaminaMax () |
| void | SetDepletionMultiplier (float val) |
| void | SetRecoveryMultiplier (float val) |
| float | GetDepletionMultiplier () |
| float | GetRecoveryMultiplier () |
| void | DepleteStaminaEx (EStaminaModifiers modifier, float dT=-1, float coef=1.0) |
| void | DepleteStamina (EStaminaModifiers modifier, float dT=-1) |
| Deprecated. | |
См. определение в файле StaminaHandler.c строка 260