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

Private Member Functions

override void Init ()
 
override bool ActivateCondition (PlayerBase player)
 
override bool DeactivateCondition (PlayerBase player)
 
override void OnActivate (PlayerBase player)
 
override void OnDeactivate (PlayerBase player)
 
override void Tick (float delta_time)
 
protected int GetHeatBufferStage ()
 

Private Attributes

const int NUMBER_OF_STAGES = 4
 
const float STAGE_THRESHOLDS [NUMBER_OF_STAGES] = {0.0, 0.60, 0.85, 1.0}
 
protected int m_Stage
 
protected int m_StageLast
 
protected float m_Value
 
protected const float HEATBUFFER_SHOW = 25.0
 DEPRECATED.
 
protected const float HEATBUFFER_HIDE = 20.0
 

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase  player)
inlineprivate

References m_Value, and STAGE_THRESHOLDS.

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase  player)
inlineprivate

References m_Value, and STAGE_THRESHOLDS.

◆ GetHeatBufferStage()

protected int GetHeatBufferStage ( )
inlineprivate

References m_Value, and STAGE_THRESHOLDS.

Referenced by OnActivate(), OnDeactivate(), and Tick().

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase  player)
inlineprivate

References GetHeatBufferStage().

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase  player)
inlineprivate

References GetHeatBufferStage().

◆ Tick()

override void Tick ( float  delta_time)
inlineprivate

Field Documentation

◆ HEATBUFFER_HIDE

protected const float HEATBUFFER_HIDE = 20.0
private

◆ HEATBUFFER_SHOW

protected const float HEATBUFFER_SHOW = 25.0
private

DEPRECATED.

◆ m_Stage

protected int m_Stage
private

Referenced by Tick().

◆ m_StageLast

protected int m_StageLast
private

Referenced by Tick().

◆ m_Value

protected float m_Value
private

◆ NUMBER_OF_STAGES

const int NUMBER_OF_STAGES = 4
private

◆ STAGE_THRESHOLDS


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