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

Protected Member Functions

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

Private Member Functions

override bool ActivateCondition (PlayerBase player)
override string GetDebugText ()
override void Init ()

Private Attributes

const int AGENT_THRESHOLD_ACTIVATE = 100
const int AGENT_THRESHOLD_DEACTIVATE = 0
ModifiersManager m_ModifiersManager
const int SNEEZE_RND_DIVIDER_NORMAL_MAX = 20
const int SNEEZE_RND_DIVIDER_NORMAL_MIN = 15
const int SNEEZE_RND_DIVIDER_SUPPRESSED_MAX = 40
const int SNEEZE_RND_DIVIDER_SUPPRESSED_MIN = 30
const int TEMPORARY_RESISTANCE_TIME = 900

Detailed Description

Definition at line 1 of file commoncold.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate

Definition at line 29 of file commoncold.c.

References AGENT_THRESHOLD_ACTIVATE.

◆ DeactivateCondition()

bool DeactivateCondition ( PlayerBase player)
inlineprotected

Definition at line 52 of file commoncold.c.

References AGENT_THRESHOLD_DEACTIVATE.

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

Definition at line 24 of file commoncold.c.

References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.

◆ Init()

◆ OnActivate()

void OnActivate ( PlayerBase player)
inlineprotected

Definition at line 37 of file commoncold.c.

References m_ModifiersManager.

◆ OnDeactivate()

void OnDeactivate ( PlayerBase player)
inlineprotected

Definition at line 45 of file commoncold.c.

References TEMPORARY_RESISTANCE_TIME.

◆ OnTick()

Field Documentation

◆ AGENT_THRESHOLD_ACTIVATE

const int AGENT_THRESHOLD_ACTIVATE = 100
private

Definition at line 3 of file commoncold.c.

Referenced by ActivateCondition(), GetDebugText(), and InfluenzaAgent::Init().

◆ AGENT_THRESHOLD_DEACTIVATE

const int AGENT_THRESHOLD_DEACTIVATE = 0
private

Definition at line 4 of file commoncold.c.

Referenced by DeactivateCondition(), and GetDebugText().

◆ m_ModifiersManager

ModifiersManager m_ModifiersManager
private

Definition at line 13 of file commoncold.c.

Referenced by OnActivate(), and OnTick().

◆ SNEEZE_RND_DIVIDER_NORMAL_MAX

const int SNEEZE_RND_DIVIDER_NORMAL_MAX = 20
private

Definition at line 7 of file commoncold.c.

Referenced by OnTick().

◆ SNEEZE_RND_DIVIDER_NORMAL_MIN

const int SNEEZE_RND_DIVIDER_NORMAL_MIN = 15
private

Definition at line 6 of file commoncold.c.

Referenced by OnTick().

◆ SNEEZE_RND_DIVIDER_SUPPRESSED_MAX

const int SNEEZE_RND_DIVIDER_SUPPRESSED_MAX = 40
private

Definition at line 9 of file commoncold.c.

Referenced by OnTick().

◆ SNEEZE_RND_DIVIDER_SUPPRESSED_MIN

const int SNEEZE_RND_DIVIDER_SUPPRESSED_MIN = 30
private

Definition at line 8 of file commoncold.c.

Referenced by OnTick().

◆ TEMPORARY_RESISTANCE_TIME

const int TEMPORARY_RESISTANCE_TIME = 900
private

Definition at line 11 of file commoncold.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/commoncold.c