Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
heartbeatnotfr.c
Go to the documentation of this file.
1
class
HeartbeatNotfr
:
NotifierBase
2
{
3
void
HeartbeatNotfr
(
NotifiersManager
manager)
4
{
5
m_Active =
false
;
6
}
7
8
override
int
GetNotifierType()
9
{
10
return
eNotifiers
.NTF_HEARTBEAT;
11
}
12
13
override
void
DisplayBadge()
14
{
15
16
DisplayElementBadge
dis_elm =
DisplayElementBadge
.Cast(
GetVirtualHud
().
GetElement
(eDisplayElements.DELM_BADGE_HEARTBEAT));
17
18
if
( dis_elm )
19
{
20
if
(
m_Player
.GetPulseType() ==
EPulseType
.REGULAR)
21
{
22
dis_elm.SetLevel(
eBadgeLevel
.FIRST);
23
}
24
else
25
{
26
dis_elm.SetLevel(
eBadgeLevel
.SECOND);
27
}
28
}
29
}
30
31
override
void
HideBadge()
32
{
33
34
DisplayElementBadge
dis_elm =
DisplayElementBadge
.Cast(
GetVirtualHud
().
GetElement
(eDisplayElements.DELM_BADGE_HEARTBEAT));
35
36
if
( dis_elm )
37
{
38
dis_elm.SetLevel(
eBadgeLevel
.NONE);
39
}
40
}
41
};
eBadgeLevel
eBadgeLevel
Definition
_constants.c:2
DisplayElementBadge
Definition
badgebleeding.c:2
HeartbeatNotfr
Definition
heartbeatnotfr.c:2
NotifierBase
Definition
notifierbase.c:2
GetElement
DisplayElementBase GetElement(eDisplayElements element_id)
Definition
displaystatus.c:95
EPulseType
EPulseType
Definition
epulsetype.c:2
m_Player
DayZPlayer m_Player
Definition
hand_events.c:42
NotifiersManager
void NotifiersManager(PlayerBase player)
Definition
notifiersmanager.c:36
eNotifiers
eNotifiers
Definition
notifiersmanager.c:2
GetVirtualHud
VirtualHud GetVirtualHud()
Definition
notifiersmanager.c:77
Daten
4_world
classes
playernotifiers
notifiers
heartbeatnotfr.c
Generated by
1.12.0