Data Structures | |
class | WoundInfectionMdfr |
Functions | |
override void | Init () |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) | |
override string | GetDebugText () |
override protected bool | ActivateCondition (PlayerBase player) |
override protected 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) | |
override protected void | OnDeactivate (PlayerBase player) |
override protected bool | DeactivateCondition (PlayerBase player) |
override protected 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 |
static const int | PAIN_EVENT_INTERVAL_MIN = 18 |
static const int | PAIN_EVENT_INTERVAL_MAX = 26 |
protected float | m_NextEvent |
protected float | m_Time |
override protected bool ActivateCondition | ( | PlayerBase | player | ) |
References AGENT_THRESHOLD_ACTIVATE.
override protected bool DeactivateCondition | ( | PlayerBase | player | ) |
References ModifierBase::ActivateCondition().
override string GetDebugText | ( | ) |
References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.
override void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
whole body slots
upper body part slots
bottom body part slots
lower body part slots
heat comfort related slots
References DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_AnalyticsStatsEnabled, m_ID, m_SyncID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
override protected 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)
References m_NextEvent, PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN, and Math::RandomFloatInclusive().
override protected void OnDeactivate | ( | PlayerBase | player | ) |
Referenced by Deactivate().
override protected void OnTick | ( | PlayerBase | player, |
float | deltaT | ||
) |
WoundInfectionMdfr AGENT_THRESHOLD_ACTIVATE = 1 |
|
static |
|
static |
protected float m_NextEvent |
Referenced by OnActivate(), and OnTick().
protected float m_Time |
|
static |
Referenced by OnActivate(), and OnTick().
|
static |
Referenced by OnActivate(), and OnTick().