Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
BrainDiseaseMdfr Class Reference
Inheritance diagram for BrainDiseaseMdfr:
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

float m_ShakeTime
float m_Time
const int SHAKE_INTERVAL_MAX = 4
const int SHAKE_INTERVAL_MIN = 1

Static Private Attributes

static const int AGENT_THRESHOLD_ACTIVATE = 2000
static const int AGENT_THRESHOLD_DEACTIVATE = 0

Detailed Description

Definition at line 1 of file braindisease.c.

Member Function Documentation

◆ ActivateCondition()

bool ActivateCondition ( PlayerBase player)
inlineprotected

Definition at line 25 of file braindisease.c.

References AGENT_THRESHOLD_ACTIVATE.

◆ DeactivateCondition()

bool DeactivateCondition ( PlayerBase player)
inlineprotected

Definition at line 41 of file braindisease.c.

References AGENT_THRESHOLD_DEACTIVATE.

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

Definition at line 20 of file braindisease.c.

References AGENT_THRESHOLD_ACTIVATE, and AGENT_THRESHOLD_DEACTIVATE.

◆ Init()

◆ OnActivate()

void OnActivate ( PlayerBase player)
inlineprotected

Definition at line 30 of file braindisease.c.

◆ OnDeactivate()

void OnDeactivate ( PlayerBase player)
inlineprotected

Definition at line 36 of file braindisease.c.

◆ OnTick()

Field Documentation

◆ AGENT_THRESHOLD_ACTIVATE

const int AGENT_THRESHOLD_ACTIVATE = 2000
staticprivate

Definition at line 3 of file braindisease.c.

Referenced by ActivateCondition(), and GetDebugText().

◆ AGENT_THRESHOLD_DEACTIVATE

const int AGENT_THRESHOLD_DEACTIVATE = 0
staticprivate

Definition at line 4 of file braindisease.c.

Referenced by DeactivateCondition(), and GetDebugText().

◆ m_ShakeTime

float m_ShakeTime
private

Definition at line 9 of file braindisease.c.

Referenced by OnTick().

◆ m_Time

float m_Time
private

Definition at line 8 of file braindisease.c.

Referenced by OnTick().

◆ SHAKE_INTERVAL_MAX

const int SHAKE_INTERVAL_MAX = 4
private

Definition at line 6 of file braindisease.c.

Referenced by OnTick().

◆ SHAKE_INTERVAL_MIN

const int SHAKE_INTERVAL_MIN = 1
private

Definition at line 5 of file braindisease.c.

Referenced by OnTick().


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