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

Protected Member Functions

bool ActivateCondition (PlayerBase player)
bool DeactivateCondition (PlayerBase player)
override string GetDebugText ()
override void Init ()
void OnActivate (PlayerBase player)
void OnDeactivate (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 = 250
static const int AGENT_THRESHOLD_DEACTIVATE = 0
static const float DAMAGE_PER_SEC = 0.04
static const int PAIN_EVENT_INTERVAL_MAX = 12
static const int PAIN_EVENT_INTERVAL_MIN = 6

Detailed Description

Definition at line 1 of file woundinfection2.c.

Member Function Documentation

◆ ActivateCondition()

bool ActivateCondition ( PlayerBase player)
inlineprotected

Definition at line 30 of file woundinfection2.c.

References AGENT_THRESHOLD_ACTIVATE.

◆ DeactivateCondition()

bool DeactivateCondition ( PlayerBase player)
inlineprotected

Definition at line 62 of file woundinfection2.c.

References AGENT_THRESHOLD_DEACTIVATE.

◆ GetDebugText()

override string GetDebugText ( )
inlineprotected

Definition at line 25 of file woundinfection2.c.

References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.

◆ Init()

◆ OnActivate()

◆ OnDeactivate()

void OnDeactivate ( PlayerBase player)
inlineprotected

Definition at line 56 of file woundinfection2.c.

◆ OnTick()

void OnTick ( PlayerBase player,
float deltaT )
inlineprotected

Field Documentation

◆ AGENT_THRESHOLD_ACTIVATE

const int AGENT_THRESHOLD_ACTIVATE = 250
staticprivate

Definition at line 3 of file woundinfection2.c.

Referenced by ActivateCondition(), and GetDebugText().

◆ AGENT_THRESHOLD_DEACTIVATE

const int AGENT_THRESHOLD_DEACTIVATE = 0
staticprivate

Definition at line 4 of file woundinfection2.c.

Referenced by DeactivateCondition(), and GetDebugText().

◆ DAMAGE_PER_SEC

const float DAMAGE_PER_SEC = 0.04
staticprivate

Definition at line 10 of file woundinfection2.c.

Referenced by OnTick().

◆ m_NextEvent

float m_NextEvent
protected

Definition at line 12 of file woundinfection2.c.

Referenced by OnActivate(), and OnTick().

◆ m_Time

float m_Time
protected

Definition at line 13 of file woundinfection2.c.

Referenced by OnTick().

◆ PAIN_EVENT_INTERVAL_MAX

const int PAIN_EVENT_INTERVAL_MAX = 12
staticprivate

Definition at line 7 of file woundinfection2.c.

Referenced by OnActivate(), and OnTick().

◆ PAIN_EVENT_INTERVAL_MIN

const int PAIN_EVENT_INTERVAL_MIN = 6
staticprivate

Definition at line 6 of file woundinfection2.c.

Referenced by OnActivate(), and OnTick().


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