Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс BloodNotfr
+ Граф наследования:BloodNotfr:

Защищенные члены

void BloodNotfr (NotifiersManager manager)
 
override int GetNotifierType ()
 
override void DisplayTendency (float delta)
 
override float GetObservedValue ()
 

Защищенные данные

const float DEC_TRESHOLD_LOW = 0
 
const float DEC_TRESHOLD_MED = -12
 
const float DEC_TRESHOLD_HIGH = -22
 
const float INC_TRESHOLD_LOW = 0
 
const float INC_TRESHOLD_MED = 3
 
const float INC_TRESHOLD_HIGH = 6
 

Дополнительные унаследованные члены

- Закрытые члены унаследованные от 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 ()
 

Подробное описание

Конструктор(ы)

◆ BloodNotfr()

void BloodNotfr ( NotifiersManager manager)
inlineprotected
11 {
12 }

Методы

◆ DisplayTendency()

override void DisplayTendency ( float delta)
inlineprotected
20 {
22
23 //DSLevels level = DetermineLevel( GetObservedValue(), PlayerConstants.THRESHOLD_BLOOD_WARNING, PlayerConstants.THRESHOLD_BLOOD_CRITICAL, PlayerConstants.THRESHOLD_BLOOD_BLINKING, PlayerConstants.THRESHOLD_BLOOD_EXTRA );
25
26 EStatLevels blood_level = m_Player.GetStatLevelBlood();
27
28 if( dis_elm )
29 {
30 dis_elm.SetTendency(tendency);
31 dis_elm.SetSeriousnessLevel(blood_level);
32
33 }
34
35 }
DisplayElementBase GetElement(eDisplayElements element_id)
Definition DisplayStatus.c:95
EStatLevels
Definition EStatLevels.c:2
const float DEC_TRESHOLD_MED
Definition BloodNotfr.c:4
const float INC_TRESHOLD_LOW
Definition BloodNotfr.c:6
const float DEC_TRESHOLD_HIGH
Definition BloodNotfr.c:5
const float INC_TRESHOLD_MED
Definition BloodNotfr.c:7
const float DEC_TRESHOLD_LOW
Definition BloodNotfr.c:3
const float INC_TRESHOLD_HIGH
Definition BloodNotfr.c:8
Definition TendencyBacteria.c:2
int CalculateTendency(float delta, float inctresholdlow, float inctresholdmed, float inctresholdhigh, float dectresholdlow, float dectresholdmed, float dectresholdhigh)
Definition NotifierBase.c:171
PlayerBase m_Player
Definition NotifierBase.c:6
VirtualHud GetVirtualHud()
Definition NotifierBase.c:49
Definition EntityAI.c:95

Перекрестные ссылки NotifierBase::CalculateTendency(), DEC_TRESHOLD_HIGH, DEC_TRESHOLD_LOW, DEC_TRESHOLD_MED, GetElement(), NotifierBase::GetVirtualHud(), INC_TRESHOLD_HIGH, INC_TRESHOLD_LOW, INC_TRESHOLD_MED и NotifierBase::m_Player.

◆ GetNotifierType()

override int GetNotifierType ( )
inlineprotected
15 {
16 return eNotifiers.NTF_BLOOD;
17 }
eNotifiers
Definition NotifiersManager.c:2

◆ GetObservedValue()

override float GetObservedValue ( )
inlineprotected
38 {
39 float blood = m_Player.GetHealth("GlobalHealth","Blood");
40 return blood;
41 }

Перекрестные ссылки NotifierBase::m_Player.

Поля

◆ DEC_TRESHOLD_HIGH

const float DEC_TRESHOLD_HIGH = -22
protected

Используется в DisplayTendency().

◆ DEC_TRESHOLD_LOW

const float DEC_TRESHOLD_LOW = 0
protected

Используется в DisplayTendency().

◆ DEC_TRESHOLD_MED

const float DEC_TRESHOLD_MED = -12
protected

Используется в DisplayTendency().

◆ INC_TRESHOLD_HIGH

const float INC_TRESHOLD_HIGH = 6
protected

Используется в DisplayTendency().

◆ INC_TRESHOLD_LOW

const float INC_TRESHOLD_LOW = 0
protected

Используется в DisplayTendency().

◆ INC_TRESHOLD_MED

const float INC_TRESHOLD_MED = 3
protected

Используется в DisplayTendency().


Объявления и описания членов класса находятся в файле: