PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
WoundInfectStage2Mdfr Class Reference

Private Member Functions

override void Init ()
 
override string GetDebugText ()
 
override protected bool ActivateCondition (PlayerBase player)
 
override protected void OnActivate (PlayerBase player)
 
override protected void OnDeactivate (PlayerBase player)
 
override protected bool DeactivateCondition (PlayerBase player)
 
override protected void OnTick (PlayerBase player, float deltaT)
 

Private Attributes

protected float m_NextEvent
 
protected float m_Time
 

Static Private Attributes

static const int AGENT_THRESHOLD_ACTIVATE = 250
 
static const int AGENT_THRESHOLD_DEACTIVATE = 0
 
static const int PAIN_EVENT_INTERVAL_MIN = 6
 
static const int PAIN_EVENT_INTERVAL_MAX = 12
 
static const float DAMAGE_PER_SEC = 0.04
 

Member Function Documentation

◆ ActivateCondition()

override protected bool ActivateCondition ( PlayerBase  player)
inlineprivate

◆ DeactivateCondition()

override protected bool DeactivateCondition ( PlayerBase  player)
inlineprivate

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

◆ Init()

◆ OnActivate()

◆ OnDeactivate()

override protected void OnDeactivate ( PlayerBase  player)
inlineprivate

◆ OnTick()

override protected void OnTick ( PlayerBase  player,
float  deltaT 
)
inlineprivate

Field Documentation

◆ AGENT_THRESHOLD_ACTIVATE

const int AGENT_THRESHOLD_ACTIVATE = 250
staticprivate

Referenced by ActivateCondition(), and GetDebugText().

◆ AGENT_THRESHOLD_DEACTIVATE

const int AGENT_THRESHOLD_DEACTIVATE = 0
staticprivate

◆ DAMAGE_PER_SEC

const float DAMAGE_PER_SEC = 0.04
staticprivate

Referenced by OnTick().

◆ m_NextEvent

protected float m_NextEvent
private

Referenced by OnActivate(), and OnTick().

◆ m_Time

protected float m_Time
private

Referenced by OnTick().

◆ PAIN_EVENT_INTERVAL_MAX

const int PAIN_EVENT_INTERVAL_MAX = 12
staticprivate

Referenced by OnActivate(), and OnTick().

◆ PAIN_EVENT_INTERVAL_MIN

const int PAIN_EVENT_INTERVAL_MIN = 6
staticprivate

Referenced by OnActivate(), and OnTick().


The documentation for this class was generated from the following file: