DayZ 1.24
|
Protected Member Functions | |
override void | Init () |
override string | GetDebugText () |
bool | ActivateCondition (PlayerBase player) |
void | OnActivate (PlayerBase player) |
void | OnDeactivate (PlayerBase player) |
bool | DeactivateCondition (PlayerBase player) |
void | OnTick (PlayerBase player, float deltaT) |
Protected Attributes | |
float | m_NextEvent |
float | m_Time |
Static Private Attributes | |
static const int | 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 |
Definition at line 13 of file WoundInfection.c.
|
inlineprotected |
Definition at line 39 of file WoundInfection.c.
References AGENT_THRESHOLD_ACTIVATE.
Referenced by DeactivateCondition().
|
inlineprotected |
Definition at line 58 of file WoundInfection.c.
References ActivateCondition().
Definition at line 34 of file WoundInfection.c.
References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.
Definition at line 25 of file WoundInfection.c.
References DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_ID, m_SyncID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprotected |
Definition at line 47 of file WoundInfection.c.
References m_NextEvent, PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN, and Math::RandomFloatInclusive().
|
inlineprotected |
Definition at line 53 of file WoundInfection.c.
|
inlineprotected |
Definition at line 63 of file WoundInfection.c.
References m_NextEvent, m_Time, PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN, and Math::RandomFloatInclusive().
Definition at line 15 of file WoundInfection.c.
Referenced by ActivateCondition(), and GetDebugText().
Definition at line 16 of file WoundInfection.c.
Referenced by GetDebugText().
Definition at line 17 of file WoundInfection.c.
|
protected |
Definition at line 22 of file WoundInfection.c.
Referenced by OnActivate(), and OnTick().
|
protected |
Definition at line 23 of file WoundInfection.c.
Referenced by OnTick().
Definition at line 20 of file WoundInfection.c.
Referenced by OnActivate(), and OnTick().
Definition at line 19 of file WoundInfection.c.
Referenced by OnActivate(), and OnTick().