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

Private Member Functions

override void Init ()
 
override bool ActivateCondition (PlayerBase player)
 
override void OnActivate (PlayerBase player)
 
override void OnDeactivate (PlayerBase player)
 
override bool DeactivateCondition (PlayerBase player)
 
override void OnTick (PlayerBase player, float deltaT)
 
void ApplyAgentsToBleedingSources (PlayerBase player, float deltaT)
 
void BleedingSourceCreateCheck (PlayerBase player)
 
float TransmitAgents (PlayerBase player, float count)
 

Private Attributes

const int EVENT_1_INTERVAL_MIN = 3
 
const int EVENT_1_INTERVAL_MAX = 5
 
const float AGENTS_PER_SEC = 5
 
protected float m_NextEvent1
 
protected float m_Time1
 
const int EVENT_2_INTERVAL_MIN = 13
 
const int EVENT_2_INTERVAL_MAX = 18
 
const float AGENT_DOSE_PER_BS_SEC = 0.33
 
protected float m_NextEvent2
 
protected float m_Time2
 

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase  player)
inlineprivate

◆ ApplyAgentsToBleedingSources()

void ApplyAgentsToBleedingSources ( PlayerBase  player,
float  deltaT 
)
inlineprivate

References AGENT_DOSE_PER_BS_SEC.

Referenced by OnTick().

◆ BleedingSourceCreateCheck()

void BleedingSourceCreateCheck ( PlayerBase  player)
inlineprivate

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase  player)
inlineprivate

◆ Init()

◆ OnActivate()

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase  player)
inlineprivate

◆ OnTick()

◆ TransmitAgents()

float TransmitAgents ( PlayerBase  player,
float  count 
)
inlineprivate

References AGT_AIRBOURNE_CHEMICAL, and GetPlugin().

Referenced by OnActivate(), and OnTick().

Field Documentation

◆ AGENT_DOSE_PER_BS_SEC

const float AGENT_DOSE_PER_BS_SEC = 0.33
private

◆ AGENTS_PER_SEC

const float AGENTS_PER_SEC = 5
private

Referenced by OnTick().

◆ EVENT_1_INTERVAL_MAX

const int EVENT_1_INTERVAL_MAX = 5
private

Referenced by OnActivate(), and OnTick().

◆ EVENT_1_INTERVAL_MIN

const int EVENT_1_INTERVAL_MIN = 3
private

Referenced by OnActivate(), and OnTick().

◆ EVENT_2_INTERVAL_MAX

const int EVENT_2_INTERVAL_MAX = 18
private

Referenced by OnTick().

◆ EVENT_2_INTERVAL_MIN

const int EVENT_2_INTERVAL_MIN = 13
private

Referenced by OnTick().

◆ m_NextEvent1

protected float m_NextEvent1
private

Referenced by OnActivate(), and OnTick().

◆ m_NextEvent2

protected float m_NextEvent2
private

Referenced by 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: