Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
bleedingnotfr.c
Go to the documentation of this file.
2 {
3  void BleedingNotfr(NotifiersManager manager)
4  {
5  m_TendencyBufferSize = 8;
6  m_Active = false;
7  }
8 
9  override int GetNotifierType()
10  {
11  return eNotifiers.NTF_BLEEDISH;
12  }
13 
14  override void DisplayBadge()
15  {
16  DisplayElementBadge dis_elm = DisplayElementBadge.Cast(GetVirtualHud().GetElement(eDisplayElements.DELM_BADGE_BLEEDING));
17 
18  if( dis_elm )
19  {
20  dis_elm.SetLevel(eBadgeLevel.FIRST);
21  }
22  }
23 
24  override void HideBadge()
25  {
26 
27  DisplayElementBadge dis_elm = DisplayElementBadge.Cast(GetVirtualHud().GetElement(eDisplayElements.DELM_BADGE_BLEEDING));
28 
29  if( dis_elm )
30  {
31  dis_elm.SetLevel(eBadgeLevel.NONE);
32  }
33  }
34 };
BleedingNotfr
Definition: bleedingnotfr.c:1
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
eNotifiers
eNotifiers
Definition: notifiersmanager.c:1