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

Protected Member Functions

void WarmthNotfr (NotifiersManager manager)
 replaces the original delta of values from NotifierBase
DSLevelsTemp DetermineLevel (float value, float m_warning_treshold, float m_critical_treshold, float m_empty_treshold, float p_warning_treshold, float p_critical_treshold, float p_empty_treshold)
DSLevelsTemp DetermineLevelEx ()
override void DisplayTendency (float delta)
override int GetNotifierType ()
float GetObservedValue ()

Protected Attributes

ref SimpleMovingAverage< floatm_AverageHeatComfortDeltaBuffer

Private Attributes

const float DEC_TRESHOLD_HIGH = -0.25
const float DEC_TRESHOLD_LOW = -0.01
const float DEC_TRESHOLD_MED = -0.12
const float INC_TRESHOLD_HIGH = 0.25
const float INC_TRESHOLD_LOW = 0.01
const float INC_TRESHOLD_MED = 0.12

Additional Inherited Members

Private Member Functions inherited from NotifierBase
int CalculateTendency (float delta, float inctresholdlow, float inctresholdmed, float inctresholdhigh, float dectresholdlow, float dectresholdmed, float dectresholdhigh)
eBadgeLevel DetermineBadgeLevel (float value, float lvl_1, float lvl_2, float lvl_3)
void DisplayBadge ()
float GetObservedValue ()
void HideBadge ()

Detailed Description

Definition at line 1 of file warmthnotfr.c.

Constructor & Destructor Documentation

◆ WarmthNotfr()

void WarmthNotfr ( NotifiersManager manager)
inlineprotected

replaces the original delta of values from NotifierBase

Definition at line 12 of file warmthnotfr.c.

References m_AverageHeatComfortDeltaBuffer, and NotifiersManager().

Member Function Documentation

◆ DetermineLevel()

DSLevelsTemp DetermineLevel ( float value,
float m_warning_treshold,
float m_critical_treshold,
float m_empty_treshold,
float p_warning_treshold,
float p_critical_treshold,
float p_empty_treshold )
inlineprotected

Definition at line 78 of file warmthnotfr.c.

◆ DetermineLevelEx()

◆ DisplayTendency()

◆ GetNotifierType()

override int GetNotifierType ( )
inlineprotected

Definition at line 17 of file warmthnotfr.c.

◆ GetObservedValue()

float GetObservedValue ( )
inlineprotected

Definition at line 72 of file warmthnotfr.c.

References m_AverageHeatComfortDeltaBuffer, and NotifierBase::m_Player.

Referenced by DisplayTendency().

Field Documentation

◆ DEC_TRESHOLD_HIGH

const float DEC_TRESHOLD_HIGH = -0.25
private

Definition at line 5 of file warmthnotfr.c.

Referenced by DisplayTendency().

◆ DEC_TRESHOLD_LOW

const float DEC_TRESHOLD_LOW = -0.01
private

Definition at line 3 of file warmthnotfr.c.

Referenced by DisplayTendency().

◆ DEC_TRESHOLD_MED

const float DEC_TRESHOLD_MED = -0.12
private

Definition at line 4 of file warmthnotfr.c.

Referenced by DisplayTendency().

◆ INC_TRESHOLD_HIGH

const float INC_TRESHOLD_HIGH = 0.25
private

Definition at line 8 of file warmthnotfr.c.

Referenced by DisplayTendency().

◆ INC_TRESHOLD_LOW

const float INC_TRESHOLD_LOW = 0.01
private

Definition at line 6 of file warmthnotfr.c.

Referenced by DisplayTendency().

◆ INC_TRESHOLD_MED

const float INC_TRESHOLD_MED = 0.12
private

Definition at line 7 of file warmthnotfr.c.

Referenced by DisplayTendency().

◆ m_AverageHeatComfortDeltaBuffer

ref SimpleMovingAverage<float> m_AverageHeatComfortDeltaBuffer
protected

Definition at line 10 of file warmthnotfr.c.

Referenced by WarmthNotfr(), and GetObservedValue().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/playernotifiers/notifiers/warmthnotfr.c