DayZ 1.24
Loading...
Searching...
No Matches
HeartbeatNotfr Class Reference
Inheritance diagram for HeartbeatNotfr:
[legend]
Collaboration diagram for HeartbeatNotfr:
[legend]

Private Member Functions

void HeartbeatNotfr (NotifiersManager manager)
 
override int GetNotifierType ()
 
override void DisplayBadge ()
 
override void HideBadge ()
 
- 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 ()
 
void HideBadge ()
 
float GetObservedValue ()
 

Detailed Description

Definition at line 1 of file HeartbeatNotfr.c.

Constructor & Destructor Documentation

◆ HeartbeatNotfr()

void HeartbeatNotfr::HeartbeatNotfr ( NotifiersManager manager)
inlineprivate

Definition at line 3 of file HeartbeatNotfr.c.

4 {
5 m_Active = false;
6 }

References NotifierBase::m_Active.

Member Function Documentation

◆ DisplayBadge()

override void HeartbeatNotfr::DisplayBadge ( )
inlineprivate

Definition at line 13 of file HeartbeatNotfr.c.

14 {
15
17
18 if (dis_elm)
19 {
20 if (m_Player.GetPulseType() == EPulseType.REGULAR)
21 dis_elm.SetLevel(eBadgeLevel.FIRST);
22 else
23 dis_elm.SetLevel(eBadgeLevel.SECOND);
24 }
25 }
eBadgeLevel
Definition _constants.c:2
DisplayElementBase GetElement(eDisplayElements element_id)
EPulseType
Definition EPulseType.c:2
PlayerBase m_Player
Definition NotifierBase.c:6
VirtualHud GetVirtualHud()

References GetElement(), NotifierBase::GetVirtualHud(), and NotifierBase::m_Player.

◆ GetNotifierType()

override int HeartbeatNotfr::GetNotifierType ( )
inlineprivate

Definition at line 8 of file HeartbeatNotfr.c.

9 {
10 return eNotifiers.NTF_HEARTBEAT;
11 }
eNotifiers

◆ HideBadge()

override void HeartbeatNotfr::HideBadge ( )
inlineprivate

Definition at line 27 of file HeartbeatNotfr.c.

28 {
29
31
32 if (dis_elm)
33 dis_elm.SetLevel(eBadgeLevel.NONE);
34 }

References GetElement(), and NotifierBase::GetVirtualHud().


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