Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
HeatBufferMdfr Class Reference
Inheritance diagram for HeatBufferMdfr:
ModifierBase

Protected Member Functions

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

Protected Attributes

const float HEATBUFFER_HIDE = 20.0
const float HEATBUFFER_SHOW = 25.0
 DEPRECATED.
int m_Stage
int m_StageLast
float m_Value

Private Attributes

const int NUMBER_OF_STAGES = 4
const float STAGE_THRESHOLDS [NUMBER_OF_STAGES] = {0.0, 0.60, 0.85, 1.0}

Detailed Description

Definition at line 1 of file heatbuffer.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprotected

Definition at line 20 of file heatbuffer.c.

References m_Value, PlayerStat(), and STAGE_THRESHOLDS.

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprotected

Definition at line 27 of file heatbuffer.c.

References m_Value, PlayerStat(), and STAGE_THRESHOLDS.

◆ GetHeatBufferStage()

int GetHeatBufferStage ( )
inlineprotected

Definition at line 61 of file heatbuffer.c.

References m_Value, and STAGE_THRESHOLDS.

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

◆ Init()

override void Init ( )
inlineprotected

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprotected

Definition at line 34 of file heatbuffer.c.

References GetHeatBufferStage().

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase player)
inlineprotected

Definition at line 39 of file heatbuffer.c.

References GetHeatBufferStage().

◆ Tick()

override void Tick ( float delta_time)
inlineprotected

Definition at line 47 of file heatbuffer.c.

References GetHeatBufferStage(), m_Stage, m_StageLast, and m_Value.

Field Documentation

◆ HEATBUFFER_HIDE

const float HEATBUFFER_HIDE = 20.0
protected

Definition at line 75 of file heatbuffer.c.

◆ HEATBUFFER_SHOW

const float HEATBUFFER_SHOW = 25.0
protected

DEPRECATED.

Definition at line 74 of file heatbuffer.c.

◆ m_Stage

int m_Stage
protected

Definition at line 6 of file heatbuffer.c.

Referenced by Tick().

◆ m_StageLast

int m_StageLast
protected

Definition at line 7 of file heatbuffer.c.

Referenced by Tick().

◆ m_Value

float m_Value
protected

Definition at line 9 of file heatbuffer.c.

Referenced by ActivateCondition(), DeactivateCondition(), GetHeatBufferStage(), and Tick().

◆ NUMBER_OF_STAGES

const int NUMBER_OF_STAGES = 4
private

Definition at line 3 of file heatbuffer.c.

Referenced by ManBase::Init(), and IngameHudHeatBuffer::Update().

◆ STAGE_THRESHOLDS

const float STAGE_THRESHOLDS[NUMBER_OF_STAGES] = {0.0, 0.60, 0.85, 1.0}
private

The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/playermodifiers/modifiers/conditions/heatbuffer.c