DayZ 1.24
Loading...
Searching...
No Matches
HeartbeatNotfr.c
Go to the documentation of this file.
2{
7
8 override int GetNotifierType()
9 {
10 return eNotifiers.NTF_HEARTBEAT;
11 }
12
13 override void DisplayBadge()
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 }
26
27 override void HideBadge()
28 {
29
31
32 if (dis_elm)
33 dis_elm.SetLevel(eBadgeLevel.NONE);
34 }
35};
eBadgeLevel
Definition _constants.c:2
DisplayElementBase GetElement(eDisplayElements element_id)
EPulseType
Definition EPulseType.c:2
void NotifiersManager(PlayerBase player)
eNotifiers
void HeartbeatNotfr(NotifiersManager manager)
override int GetNotifierType()
override void HideBadge()
override void DisplayBadge()
PlayerBase m_Player
Definition NotifierBase.c:6
VirtualHud GetVirtualHud()