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

Private Member Functions

void IngameHudHeatBuffer (Widget root, notnull PlayerBase player)
 
void OnPlayerNegativeCondition (PlayerBase player)
 
void OnPlayerConditionChanged (PlayerBase player)
 
bool CanUpdate ()
 
void Update (float timeslice)
 
void SetBaseAlpha (Widget hbw, float valuePercent, float stageThreshold)
 
void UpdateEffect (Widget hbw, float duration, float timeslice)
 

Private Attributes

protected Widget m_Root
 
protected float m_CurrentValue
 
protected bool m_IsActive
 
protected int m_CurrentDirection
 
protected int m_PreviousDirection
 
protected bool m_Update
 
protected PlayerBase m_Player
 
protected float m_EffectTime
 
protected float m_EffectDuration
 
protected bool m_FadeIn
 
protected float m_FlashingTime
 
protected int m_FlashingStage
 
protected ref map< int, floatm_FlashingThresholds
 

Constructor & Destructor Documentation

◆ IngameHudHeatBuffer()

Member Function Documentation

◆ CanUpdate()

bool CanUpdate ( )
inlineprivate

References m_Player, and m_Update.

◆ OnPlayerConditionChanged()

void OnPlayerConditionChanged ( PlayerBase  player)
inlineprivate

References m_Player, m_Update, and Print().

Referenced by IngameHudHeatBuffer().

◆ OnPlayerNegativeCondition()

void OnPlayerNegativeCondition ( PlayerBase  player)
inlineprivate

References m_Player, m_Update, and Print().

Referenced by IngameHudHeatBuffer().

◆ SetBaseAlpha()

void SetBaseAlpha ( Widget  hbw,
float  valuePercent,
float  stageThreshold 
)
inlineprivate

References Math::Floor(), Math::Lerp(), and Print().

Referenced by Update().

◆ Update()

◆ UpdateEffect()

void UpdateEffect ( Widget  hbw,
float  duration,
float  timeslice 
)
inlineprivate

Field Documentation

◆ m_CurrentDirection

protected int m_CurrentDirection
private

Referenced by IngameHudHeatBuffer(), and Update().

◆ m_CurrentValue

protected float m_CurrentValue
private

Referenced by Update().

◆ m_EffectDuration

protected float m_EffectDuration
private

Referenced by UpdateEffect().

◆ m_EffectTime

protected float m_EffectTime
private

Referenced by UpdateEffect().

◆ m_FadeIn

protected bool m_FadeIn
private

Referenced by UpdateEffect().

◆ m_FlashingStage

protected int m_FlashingStage
private

Referenced by IngameHudHeatBuffer(), and Update().

◆ m_FlashingThresholds

protected ref map<int, float> m_FlashingThresholds
private

Referenced by IngameHudHeatBuffer(), and Update().

◆ m_FlashingTime

protected float m_FlashingTime
private

Referenced by Update().

◆ m_IsActive

protected bool m_IsActive
private

Referenced by Update(), and UpdateEffect().

◆ m_Player

◆ m_PreviousDirection

protected int m_PreviousDirection
private

Referenced by IngameHudHeatBuffer(), and Update().

◆ m_Root

protected Widget m_Root
private

Referenced by IngameHudHeatBuffer(), and Update().

◆ m_Update


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