![]() |
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 | |
| bool | m_Exhaustion |
| float | m_ExhaustionTimer |
Static Private Attributes | |
| static const int | AGENT_THRESHOLD_ACTIVATE = 250 |
| static const int | AGENT_THRESHOLD_DEACTIVATE = 50 |
| static const int | CHANCE_OF_VOMIT = 10 |
| static const int | CHANCE_OF_VOMIT_AGENT = 30 |
| static const int | ENERGY_DRAIN_FROM_VOMIT = 310 |
| static const float | STOMACH_MIN_VOLUME = 200 |
| static const int | WATER_DRAIN_FROM_VOMIT = 450 |
| static const float | WATER_LOSS_CHOLERA = 0.5 |
| static const float | WATER_LOSS_CHOLERA_MIN = 0.1 |
|
inlineprotected |
Definition at line 31 of file cholera.c.
References AGENT_THRESHOLD_ACTIVATE.
|
inlineprotected |
Definition at line 58 of file cholera.c.
References AGENT_THRESHOLD_DEACTIVATE.
|
inlineprivate |
Definition at line 26 of file cholera.c.
References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.
|
inlineprivate |
Definition at line 17 of file cholera.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 36 of file cholera.c.
References CachedObjectsParams::PARAM1_FLOAT, Math::RandomIntInclusive(), SymptomBase::SetDuration(), and SymptomBase::SetParam().
|
inlineprotected |
Definition at line 49 of file cholera.c.
References m_Exhaustion, and m_ExhaustionTimer.
|
inlineprotected |
Definition at line 63 of file cholera.c.
References CHANCE_OF_VOMIT, CHANCE_OF_VOMIT_AGENT, ENERGY_DRAIN_FROM_VOMIT, m_Exhaustion, m_ExhaustionTimer, Math::Max(), CachedObjectsParams::PARAM1_FLOAT, Math::RandomInt(), Math::RandomIntInclusive(), SymptomBase::SetDuration(), SymptomBase::SetParam(), STOMACH_MIN_VOLUME, WATER_DRAIN_FROM_VOMIT, WATER_LOSS_CHOLERA, and WATER_LOSS_CHOLERA_MIN.
|
staticprivate |
Definition at line 3 of file cholera.c.
Referenced by ActivateCondition(), and GetDebugText().
|
staticprivate |
Definition at line 4 of file cholera.c.
Referenced by DeactivateCondition(), and GetDebugText().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 15 of file cholera.c.
Referenced by OnDeactivate(), and OnTick().
|
private |
Definition at line 14 of file cholera.c.
Referenced by OnDeactivate(), and OnTick().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |