![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | WoundInfectionMdfr |
Functions | |
| bool | ActivateCondition (PlayerBase player) |
| bool | DeactivateCondition (PlayerBase player) |
| override string | GetDebugText () |
| override void | Init () |
| void | OnActivate (PlayerBase player) |
| is called when an inactive modifier gets activated during gameplay, is NOT called on activation upon player server connection(see OnReconnect) | |
| void | OnDeactivate (PlayerBase player) |
| void | OnTick (PlayerBase player, float deltaT) |
Variables | |
| WoundInfectionMdfr | AGENT_THRESHOLD_ACTIVATE = 1 |
| static const int | AGENT_THRESHOLD_DEACTIVATE = 250 |
| static const int | AGENT_THRESHOLD_FEVER = 250 |
| float | m_NextEvent |
| float | m_Time |
| static const int | PAIN_EVENT_INTERVAL_MAX = 26 |
| static const int | PAIN_EVENT_INTERVAL_MIN = 18 |
|
protected |
Definition at line 39 of file woundinfection.c.
References AGENT_THRESHOLD_ACTIVATE.
|
protected |
Definition at line 57 of file woundinfection.c.
References ModifierBase::ActivateCondition().
|
protected |
Definition at line 34 of file woundinfection.c.
References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.
|
protected |
Definition at line 24 of file woundinfection.c.
References DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_AnalyticsStatsEnabled, m_ID, m_SyncID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
protected |
is called when an inactive modifier gets activated during gameplay, is NOT called on activation upon player server connection(see OnReconnect)
Definition at line 44 of file woundinfection.c.
References m_NextEvent, HeavyMetalMdfr::OnActivate(), PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN, and Math::RandomFloatInclusive().
|
protected |
Definition at line 52 of file woundinfection.c.
Referenced by Deactivate().
|
protected |
Definition at line 62 of file woundinfection.c.
References m_NextEvent, m_Time, Math::Max(), PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN, CachedObjectsParams::PARAM1_FLOAT, Math::RandomFloatInclusive(), SymptomBase::SetParam(), VOMIT_EVENT_INTERVAL_MAX, and VOMIT_EVENT_INTERVAL_MIN.
| WoundInfectionMdfr AGENT_THRESHOLD_ACTIVATE = 1 |
|
static |
Definition at line 15 of file woundinfection.c.
|
static |
Definition at line 16 of file woundinfection.c.
|
protected |
Definition at line 21 of file woundinfection.c.
Referenced by OnActivate(), and OnTick().
|
protected |
Definition at line 22 of file woundinfection.c.
|
static |
Definition at line 19 of file woundinfection.c.
Referenced by OnActivate(), and OnTick().
|
static |
Definition at line 18 of file woundinfection.c.
Referenced by OnActivate(), and OnTick().