DayZ 1.24
|
Private Member Functions | |
override void | Init () |
override bool | ActivateCondition (PlayerBase player) |
override bool | DeactivateCondition (PlayerBase player) |
override void | OnTick (PlayerBase player, float deltaT) |
override void | OnReconnect (PlayerBase player) |
override void | OnActivate (PlayerBase player) |
Private Attributes | |
const float | TOXICITY_CLEANUP_PER_SEC = 1 |
const float | VOMIT_THRESHOLD = 70 |
Definition at line 1 of file Toxicity.c.
|
inlineprivate |
Definition at line 15 of file Toxicity.c.
|
inlineprivate |
Definition at line 20 of file Toxicity.c.
Definition at line 6 of file Toxicity.c.
References DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, DisableDeactivateCheck(), m_ID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprivate |
Definition at line 42 of file Toxicity.c.
|
inlineprivate |
Definition at line 37 of file Toxicity.c.
|
inlineprivate |
Definition at line 25 of file Toxicity.c.
References Math::RandomIntInclusive(), TOXICITY_CLEANUP_PER_SEC, and VOMIT_THRESHOLD.
Definition at line 3 of file Toxicity.c.
Referenced by OnTick().
Definition at line 4 of file Toxicity.c.
Referenced by OnTick().