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

Protected Member Functions

bool ActivateCondition (PlayerBase player)
bool DeactivateCondition (PlayerBase player)
void OnActivate (PlayerBase player)
void OnDeactivate (PlayerBase player)
void OnTick (PlayerBase player, float deltaT)

Private Member Functions

override string GetDebugText ()
override void Init ()

Private Attributes

const int AGENT_THRESHOLD_ACTIVATE = 600
const int AGENT_THRESHOLD_DEACTIVATE = 400
const int COUGH_RND_DIVIDER_NORMAL_MAX = 20
const int COUGH_RND_DIVIDER_NORMAL_MIN = 5
const int COUGH_RND_DIVIDER_SUPPRESSED_MAX = 40
const int COUGH_RND_DIVIDER_SUPPRESSED_MIN = 10
ModifiersManager m_ModifiersManager
const int TEMPORARY_RESISTANCE_TIME = 300

Detailed Description

Definition at line 1 of file influenza.c.

Member Function Documentation

◆ ActivateCondition()

bool ActivateCondition ( PlayerBase player)
inlineprotected

Definition at line 29 of file influenza.c.

References AGENT_THRESHOLD_ACTIVATE.

◆ DeactivateCondition()

bool DeactivateCondition ( PlayerBase player)
inlineprotected

Definition at line 51 of file influenza.c.

References AGENT_THRESHOLD_DEACTIVATE.

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

Definition at line 24 of file influenza.c.

References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.

◆ Init()

◆ OnActivate()

void OnActivate ( PlayerBase player)
inlineprotected

Definition at line 37 of file influenza.c.

References m_ModifiersManager.

◆ OnDeactivate()

void OnDeactivate ( PlayerBase player)
inlineprotected

Definition at line 44 of file influenza.c.

References TEMPORARY_RESISTANCE_TIME.

◆ OnTick()

Field Documentation

◆ AGENT_THRESHOLD_ACTIVATE

const int AGENT_THRESHOLD_ACTIVATE = 600
private

Definition at line 3 of file influenza.c.

Referenced by ActivateCondition(), and GetDebugText().

◆ AGENT_THRESHOLD_DEACTIVATE

const int AGENT_THRESHOLD_DEACTIVATE = 400
private

Definition at line 4 of file influenza.c.

Referenced by DeactivateCondition(), and GetDebugText().

◆ COUGH_RND_DIVIDER_NORMAL_MAX

const int COUGH_RND_DIVIDER_NORMAL_MAX = 20
private

Definition at line 7 of file influenza.c.

Referenced by OnTick().

◆ COUGH_RND_DIVIDER_NORMAL_MIN

const int COUGH_RND_DIVIDER_NORMAL_MIN = 5
private

Definition at line 6 of file influenza.c.

Referenced by OnTick().

◆ COUGH_RND_DIVIDER_SUPPRESSED_MAX

const int COUGH_RND_DIVIDER_SUPPRESSED_MAX = 40
private

Definition at line 9 of file influenza.c.

Referenced by OnTick().

◆ COUGH_RND_DIVIDER_SUPPRESSED_MIN

const int COUGH_RND_DIVIDER_SUPPRESSED_MIN = 10
private

Definition at line 8 of file influenza.c.

Referenced by OnTick().

◆ m_ModifiersManager

ModifiersManager m_ModifiersManager
private

Definition at line 13 of file influenza.c.

Referenced by OnActivate(), and OnTick().

◆ TEMPORARY_RESISTANCE_TIME

const int TEMPORARY_RESISTANCE_TIME = 300
private

Definition at line 11 of file influenza.c.

Referenced by OnDeactivate().


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