PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ContaminationStage2Mdfr 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_NextEvent1
 
protected float m_Time1
 
protected float m_NextEvent2
 
protected float m_Time2
 

Static Private Attributes

static const int AGENT_THRESHOLD_ACTIVATE = 100
 
static const int AGENT_THRESHOLD_DEACTIVATE = 400
 
static const int EVENT_1_INTERVAL_MIN = 20
 
static const int EVENT_1_INTERVAL_MAX = 40
 
static const int EVENT_2_INTERVAL_MIN = 200
 
static const int EVENT_2_INTERVAL_MAX = 400
 

Member Function Documentation

◆ ActivateCondition()

override protected bool ActivateCondition ( PlayerBase  player)
inlineprivate

◆ DeactivateCondition()

override protected bool DeactivateCondition ( PlayerBase  player)
inlineprivate

References ActivateCondition().

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

◆ Init()

◆ OnActivate()

◆ OnDeactivate()

override protected void OnDeactivate ( PlayerBase  player)
inlineprivate

◆ OnTick()

Field Documentation

◆ AGENT_THRESHOLD_ACTIVATE

const int AGENT_THRESHOLD_ACTIVATE = 100
staticprivate

◆ AGENT_THRESHOLD_DEACTIVATE

const int AGENT_THRESHOLD_DEACTIVATE = 400
staticprivate

Referenced by ActivateCondition(), and GetDebugText().

◆ EVENT_1_INTERVAL_MAX

const int EVENT_1_INTERVAL_MAX = 40
staticprivate

Referenced by OnActivate(), and OnTick().

◆ EVENT_1_INTERVAL_MIN

const int EVENT_1_INTERVAL_MIN = 20
staticprivate

Referenced by OnActivate(), and OnTick().

◆ EVENT_2_INTERVAL_MAX

const int EVENT_2_INTERVAL_MAX = 400
staticprivate

Referenced by OnActivate(), and OnTick().

◆ EVENT_2_INTERVAL_MIN

const int EVENT_2_INTERVAL_MIN = 200
staticprivate

Referenced by OnActivate(), and OnTick().

◆ m_NextEvent1

protected float m_NextEvent1
private

Referenced by OnActivate(), and OnTick().

◆ m_NextEvent2

protected float m_NextEvent2
private

Referenced by OnActivate(), and OnTick().

◆ m_Time1

protected float m_Time1
private

Referenced by OnTick().

◆ m_Time2

protected float m_Time2
private

Referenced by OnTick().


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