DayZ 1.24
|
Private Member Functions | |
override void | Init () |
override bool | ActivateCondition (PlayerBase player) |
override void | OnActivate (PlayerBase player) |
override void | OnReconnect (PlayerBase player) |
override void | OnDeactivate (PlayerBase player) |
override bool | DeactivateCondition (PlayerBase player) |
override void | OnTick (PlayerBase player, float deltaT) |
Private Attributes | |
float | m_Time |
float | m_NextEvent |
Static Private Attributes | |
static const float | EVENT_INTERVAL_MIN = 12 |
static const float | EVENT_INTERVAL_MAX = 18 |
|
inlineprivate |
Definition at line 18 of file Fever.c.
Referenced by DeactivateCondition().
|
inlineprivate |
Definition at line 10 of file Fever.c.
References DEFAULT_TICK_TIME_ACTIVE_SHORT, DEFAULT_TICK_TIME_INACTIVE, m_ID, m_SyncID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 31 of file Fever.c.
References OnActivate().
|
inlineprivate |
Definition at line 50 of file Fever.c.
References EVENT_INTERVAL_MAX, EVENT_INTERVAL_MIN, m_NextEvent, m_Time, Math::RandomFloatInclusive(), and PlayerConstants::WATER_LOSS_FEVER.