![]() |
Dayz Explorer 1.29.162510
|
Protected Member Functions | |
| void | StaminaHandler (PlayerBase player) |
| void | ~StaminaHandler () |
| void | Init () |
| void | ActivateDepletionModifier (EStaminaMultiplierTypes type) |
| void | DeactivateDepletionModifier (EStaminaMultiplierTypes type) |
| void | RecalculateDepletionMultiplier () |
| void | ActivateRecoveryModifier (EStaminaMultiplierTypes type) |
| void | DeactivateRecoveryModifier (EStaminaMultiplierTypes type) |
| void | RecalculateRecoveryMultiplier () |
| bool | HasMovementStateChanged () |
| void | Update (float deltaT, int pCurrentCommandID) |
| void | ProcessMovementState () |
| void | ProcessStaminaChanges (float deltaT, bool isServerOrSingleplayer) |
| void | RecalculateStaminaCap () |
| 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 | SyncStaminaEx () |
| stamina sync - server part | |
| 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 and caches it during one Update call. | |
| 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) |
| bool | HasEnoughStaminaFor (EStaminaConsumers consumer) |
| bool | HasEnoughStaminaToStart (EStaminaConsumers consumer) |
| void | SetStamina (float stamina_value) |
| float | GetStamina () |
| float | GetStaminaNormalized () |
| float | GetSyncedStamina () |
| float | GetSyncedStaminaNormalized () |
| float | GetStaminaCap () |
| float | GetSyncedStaminaCap () |
| 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 | ObtainState (PlayerBaseOwnerState state) |
| void | ObtainMove (PlayerBaseMove move) |
| void | RewindState (PlayerBaseOwnerState state, PlayerBaseMove move) |
| void | ReplayMove (PlayerBaseMove move) |
| void | DepleteStamina (EStaminaModifiers modifier, float dT=-1) |
| void | OnRPC (float stamina, float stamina_cap, bool cooldown) |
Definition at line 261 of file staminahandler.c.
|
protected |
Definition at line 316 of file staminahandler.c.
|
protected |
Definition at line 356 of file staminahandler.c.
|
protected |
Definition at line 381 of file staminahandler.c.
|
protected |
Definition at line 417 of file staminahandler.c.
|
protected |
sets exhaustion look of player based on stamina level
Definition at line 954 of file staminahandler.c.
|
protected |
Calulates stamina regain bonus coef based on current stamina cap and level and caches it during one Update call.
Definition at line 932 of file staminahandler.c.
|
protected |
check if the stamina is completely depleted
in case of complete depletion - start a cooldown timer before the regeneration cycle start
Definition at line 981 of file staminahandler.c.
|
protected |
Definition at line 394 of file staminahandler.c.
|
protected |
Definition at line 430 of file staminahandler.c.
|
protected |
Definition at line 1238 of file staminahandler.c.
|
protected |
run cooldown right after depletion
Definition at line 1110 of file staminahandler.c.
|
protected |
Definition at line 1100 of file staminahandler.c.
|
protected |
Definition at line 1105 of file staminahandler.c.
|
protected |
Definition at line 1047 of file staminahandler.c.
|
protected |
Definition at line 1067 of file staminahandler.c.
|
protected |
Definition at line 1077 of file staminahandler.c.
|
protected |
Definition at line 1052 of file staminahandler.c.
|
protected |
Definition at line 1057 of file staminahandler.c.
|
protected |
Definition at line 1072 of file staminahandler.c.
|
protected |
Definition at line 1062 of file staminahandler.c.
|
protected |
Definition at line 1031 of file staminahandler.c.
|
protected |
Definition at line 1036 of file staminahandler.c.
|
protected |
Definition at line 456 of file staminahandler.c.
|
protected |
Definition at line 364 of file staminahandler.c.
|
protected |
Definition at line 1197 of file staminahandler.c.
|
protected |
Definition at line 1192 of file staminahandler.c.
|
protected |
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)
Definition at line 638 of file staminahandler.c.
|
protected |
Definition at line 554 of file staminahandler.c.
Definition at line 580 of file staminahandler.c.
|
protected |
Order of read parameters must match the order of writing above.
Definition at line 819 of file staminahandler.c.
|
protected |
Definition at line 404 of file staminahandler.c.
|
protected |
Definition at line 440 of file staminahandler.c.
|
protected |
StaminaCap calculation starts when PlayerLoad exceeds STAMINA_WEIGHT_LIMIT_THRESHOLD
Definition at line 622 of file staminahandler.c.
|
protected |
Definition at line 832 of file staminahandler.c.
|
protected |
Definition at line 879 of file staminahandler.c.
|
protected |
Definition at line 1208 of file staminahandler.c.
|
protected |
Definition at line 1013 of file staminahandler.c.
|
protected |
Definition at line 1202 of file staminahandler.c.
set cooldown timer between each consume of stamina
Definition at line 1000 of file staminahandler.c.
|
protected |
Definition at line 1083 of file staminahandler.c.
|
protected |
Definition at line 1092 of file staminahandler.c.
|
protected |
Definition at line 1041 of file staminahandler.c.
|
protected |
Definition at line 740 of file staminahandler.c.
|
protected |
Definition at line 677 of file staminahandler.c.
|
protected |
Definition at line 765 of file staminahandler.c.
|
protected |
Method to sync more info for stamina manager. Template parameter means it is very extendable for further use.
Definition at line 808 of file staminahandler.c.
stamina sync - server part
Definition at line 797 of file staminahandler.c.
|
protected |
stamina sync - server part
Definition at line 791 of file staminahandler.c.
gets the actual players load
Definition at line 474 of file staminahandler.c.
|
protected |
Definition at line 287 of file staminahandler.c.
|
protected |
Definition at line 290 of file staminahandler.c.
|
protected |
Definition at line 299 of file staminahandler.c.
|
protected |
Definition at line 302 of file staminahandler.c.
|
protected |
Definition at line 1235 of file staminahandler.c.
|
protected |
Definition at line 281 of file staminahandler.c.
|
protected |
Definition at line 266 of file staminahandler.c.
|
protected |
Definition at line 292 of file staminahandler.c.
|
protected |
Definition at line 300 of file staminahandler.c.
|
protected |
Definition at line 305 of file staminahandler.c.
|
protected |
Definition at line 306 of file staminahandler.c.
|
protected |
Definition at line 297 of file staminahandler.c.
|
protected |
Definition at line 307 of file staminahandler.c.
Definition at line 308 of file staminahandler.c.
|
protected |
Definition at line 282 of file staminahandler.c.
|
protected |
Definition at line 267 of file staminahandler.c.
|
protected |
Definition at line 286 of file staminahandler.c.
|
protected |
Definition at line 289 of file staminahandler.c.
|
protected |
Definition at line 269 of file staminahandler.c.
|
protected |
Definition at line 271 of file staminahandler.c.
|
protected |
Definition at line 272 of file staminahandler.c.
|
protected |
Definition at line 294 of file staminahandler.c.
|
protected |
Definition at line 268 of file staminahandler.c.
|
protected |
Definition at line 284 of file staminahandler.c.
|
protected |
Definition at line 275 of file staminahandler.c.
|
protected |
Definition at line 276 of file staminahandler.c.
|
protected |
Definition at line 273 of file staminahandler.c.
|
protected |
Definition at line 295 of file staminahandler.c.
Definition at line 279 of file staminahandler.c.
|
protected |
Definition at line 277 of file staminahandler.c.
|
protected |
Definition at line 274 of file staminahandler.c.
|
protected |
Definition at line 270 of file staminahandler.c.
|
protected |
Definition at line 280 of file staminahandler.c.
|
protected |
Definition at line 278 of file staminahandler.c.
|
protected |
Definition at line 264 of file staminahandler.c.
|
protected |
Definition at line 263 of file staminahandler.c.