DayZ 1.24
|
Private Member Functions | |
override void | Init () |
override string | GetDebugText () |
override bool | ActivateCondition (PlayerBase player) |
override bool | DeactivateCondition (PlayerBase player) |
override void | OnActivate (PlayerBase player) |
override void | OnReconnect (PlayerBase player) |
override void | OnDeactivate (PlayerBase player) |
override void | OnTick (PlayerBase player, float deltaT) |
Static Private Attributes | |
static const int | AGENT_THRESHOLD_ACTIVATE = 150 |
static const int | AGENT_THRESHOLD_DEACTIVATE = 0 |
static const int | VOMIT_OCCURRENCES_PER_HOUR_MIN = 60 |
static const int | VOMIT_OCCURRENCES_PER_HOUR_MAX = 120 |
static const int | WATER_DRAIN_FROM_VOMIT = 70 |
static const int | ENERGY_DRAIN_FROM_VOMIT = 55 |
Definition at line 1 of file Poisoning.c.
|
inlineprivate |
Definition at line 26 of file Poisoning.c.
References AGENT_THRESHOLD_ACTIVATE.
|
inlineprivate |
Definition at line 34 of file Poisoning.c.
References AGENT_THRESHOLD_DEACTIVATE.
Definition at line 21 of file Poisoning.c.
References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.
Definition at line 12 of file Poisoning.c.
References DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_ID, m_IsPersistent, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprivate |
Definition at line 42 of file Poisoning.c.
|
inlineprivate |
Definition at line 52 of file Poisoning.c.
|
inlineprivate |
Definition at line 47 of file Poisoning.c.
References OnActivate().
|
inlineprivate |
Definition at line 57 of file Poisoning.c.
References Easing::EaseInCirc(), ENERGY_DRAIN_FROM_VOMIT, Math::InverseLerp(), Math::Lerp(), m_Player, Math::RandomFloat01(), VOMIT_OCCURRENCES_PER_HOUR_MAX, VOMIT_OCCURRENCES_PER_HOUR_MIN, and WATER_DRAIN_FROM_VOMIT.
Definition at line 3 of file Poisoning.c.
Referenced by ActivateCondition(), and GetDebugText().
Definition at line 4 of file Poisoning.c.
Referenced by DeactivateCondition(), and GetDebugText().
Definition at line 10 of file Poisoning.c.
Referenced by OnTick().
Definition at line 7 of file Poisoning.c.
Referenced by OnTick().
Definition at line 6 of file Poisoning.c.
Referenced by OnTick().
Definition at line 9 of file Poisoning.c.
Referenced by OnTick().