Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ToxicityMdfr Class Reference
Inheritance diagram for ToxicityMdfr:
ModifierBase

Private Member Functions

override bool ActivateCondition (PlayerBase player)
override bool DeactivateCondition (PlayerBase player)
override void Init ()
override void OnActivate (PlayerBase player)
override void OnReconnect (PlayerBase player)
override void OnTick (PlayerBase player, float deltaT)

Private Attributes

const float TOXICITY_CLEANUP_PER_SEC = 1
const float VOMIT_THRESHOLD = 70

Detailed Description

Definition at line 1 of file toxicity.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate

Definition at line 15 of file toxicity.c.

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate

Definition at line 20 of file toxicity.c.

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate

Definition at line 44 of file toxicity.c.

◆ OnReconnect()

override void OnReconnect ( PlayerBase player)
inlineprivate

Definition at line 39 of file toxicity.c.

◆ OnTick()

override void OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Field Documentation

◆ TOXICITY_CLEANUP_PER_SEC

const float TOXICITY_CLEANUP_PER_SEC = 1
private

Definition at line 3 of file toxicity.c.

Referenced by OnTick().

◆ VOMIT_THRESHOLD

const float VOMIT_THRESHOLD = 70
private

Definition at line 4 of file toxicity.c.

Referenced by OnTick().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/playermodifiers/modifiers/toxicity.c