![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| bool | ActivateCondition (PlayerBase player) |
| bool | DeactivateCondition (PlayerBase player) |
| void | OnActivate (PlayerBase player) |
| void | OnDeactivate (PlayerBase player) |
| void | OnTick (PlayerBase player, float deltaT) |
Private Member Functions | |
| override string | GetDebugText () |
| override void | Init () |
Private Attributes | |
| const int | AGENT_THRESHOLD_ACTIVATE = 1150 |
| const int | AGENT_THRESHOLD_DEACTIVATE = 1100 |
| const float | HEALTH_LOSS_PNEUMONIA = 0.1 |
| const float | STAMINA_DEPLETION_MULTIPLIER = 1.3 |
| const float | STAMINA_RECOVERY_MULTIPLIER = 0.5 |
| const int | TEMPORARY_RESISTANCE_TIME = 600 |
Definition at line 1 of file pneumonia.c.
|
inlineprotected |
Definition at line 27 of file pneumonia.c.
References AGENT_THRESHOLD_ACTIVATE.
|
inlineprotected |
Definition at line 53 of file pneumonia.c.
References AGENT_THRESHOLD_DEACTIVATE.
|
inlineprivate |
Definition at line 22 of file pneumonia.c.
References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.
|
inlineprivate |
Definition at line 13 of file pneumonia.c.
References DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_AnalyticsStatsEnabled, m_ID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprotected |
Definition at line 35 of file pneumonia.c.
|
inlineprotected |
Definition at line 43 of file pneumonia.c.
References TEMPORARY_RESISTANCE_TIME.
|
inlineprotected |
Definition at line 58 of file pneumonia.c.
References HEALTH_LOSS_PNEUMONIA, Math::RandomFloat01(), and Math::RandomInt().
|
private |
Definition at line 3 of file pneumonia.c.
Referenced by ActivateCondition(), and GetDebugText().
|
private |
Definition at line 4 of file pneumonia.c.
Referenced by DeactivateCondition(), and GetDebugText().
|
private |
Definition at line 9 of file pneumonia.c.
Referenced by OnTick().
|
private |
Definition at line 6 of file pneumonia.c.
Referenced by StaminaHandler::Init().
|
private |
Definition at line 7 of file pneumonia.c.
Referenced by StaminaHandler::Init().
|
private |
Definition at line 11 of file pneumonia.c.
Referenced by OnDeactivate().