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

Private Member Functions

void StuffedNotfr (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 StuffedNotfr.c.

Constructor & Destructor Documentation

◆ StuffedNotfr()

void StuffedNotfr::StuffedNotfr ( NotifiersManager manager)
inlineprivate

Definition at line 3 of file StuffedNotfr.c.

4 {
5 m_Active = true;
6 }

References NotifierBase::m_Active.

Member Function Documentation

◆ DisplayBadge()

override void StuffedNotfr::DisplayBadge ( )
inlineprivate

Definition at line 13 of file StuffedNotfr.c.

14 {
15 float volume = m_Player.m_PlayerStomach.GetStomachVolume();
18
19 if (dis_elm)
20 dis_elm.SetLevel(lvl);
21 }
eBadgeLevel
Definition _constants.c:2
DisplayElementBase GetElement(eDisplayElements element_id)
PlayerBase m_Player
Definition NotifierBase.c:6
eBadgeLevel DetermineBadgeLevel(float value, float lvl_1, float lvl_2, float lvl_3)
VirtualHud GetVirtualHud()
static const int BT_STOMACH_VOLUME_LVL3

References PlayerConstants::BT_STOMACH_VOLUME_LVL3, NotifierBase::DetermineBadgeLevel(), GetElement(), NotifierBase::GetVirtualHud(), and NotifierBase::m_Player.

◆ GetNotifierType()

override int StuffedNotfr::GetNotifierType ( )
inlineprivate

Definition at line 8 of file StuffedNotfr.c.

9 {
10 return eNotifiers.NTF_STUFFED;
11 }
eNotifiers

◆ HideBadge()

override void StuffedNotfr::HideBadge ( )
inlineprivate

Definition at line 23 of file StuffedNotfr.c.

24 {
26
27 if (dis_elm)
28 dis_elm.SetLevel(eBadgeLevel.NONE);
29 }

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


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