Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
wetnessnotfr.c
Go to the documentation of this file.
1
class
WetnessNotfr
:
NotifierBase
2
{
3
void
WetnessNotfr
(
NotifiersManager
manager)
4
{
5
m_Active =
false
;
6
}
7
8
override
int
GetNotifierType()
9
{
10
return
eNotifiers
.NTF_WETNESS;
11
}
12
13
override
void
DisplayBadge()
14
{
15
DisplayElementBadge
dis_elm =
DisplayElementBadge
.Cast(
GetVirtualHud
().
GetElement
(eDisplayElements.DELM_BADGE_WET));
16
17
if
( dis_elm )
18
{
19
dis_elm.SetLevel(
eBadgeLevel
.FIRST);
20
}
21
22
}
23
24
override
void
HideBadge()
25
{
26
DisplayElementBadge
dis_elm =
DisplayElementBadge
.Cast(
GetVirtualHud
().
GetElement
(eDisplayElements.DELM_BADGE_WET));
27
28
if
( dis_elm )
29
{
30
dis_elm.SetLevel(
eBadgeLevel
.NONE);
31
}
32
}
33
};
eBadgeLevel
eBadgeLevel
Definition:
_constants.c:1
GetElement
DisplayElementBase GetElement(eDisplayElements element_id)
Definition:
displaystatus.c:95
DisplayElementBadge
Definition:
badgebleeding.c:1
GetVirtualHud
VirtualHud GetVirtualHud()
Definition:
notifiersmanager.c:77
NotifiersManager
void NotifiersManager(PlayerBase player)
Definition:
notifiersmanager.c:36
NotifierBase
Definition:
notifierbase.c:1
WetnessNotfr
Definition:
wetnessnotfr.c:1
eNotifiers
eNotifiers
Definition:
notifiersmanager.c:1
DAYZ
scripts_v1.24.157551
scripts
world
classes
playernotifiers
notifiers
wetnessnotfr.c
Generated by
1.8.17