DayZ 1.24
Loading...
Searching...
No Matches
TendencyTemperature.c
Go to the documentation of this file.
1class TendencyTemperature extends DisplayElementTendency
2{
4 {
5 TENDENCY_MASK = 7;// 3 bits
6 SERIOUSNESS_BIT_MASK = 7;// 3 bits
7 SERIOUSNESS_BIT_OFFSET = 3;//3 bit offset
8 NUM_OF_BITS = 6;
9
10 m_Type = eDisplayElements.DELM_TDCY_TEMPERATURE;
12 }
13
14 override int TranslateLevelToStatus(int level)
15 {
16 if (level == DSLevelsTemp.WARNING_PLUS) return 2;
17 if (level == DSLevelsTemp.CRITICAL_PLUS) return 3;
18 if (level == DSLevelsTemp.BLINKING_PLUS) return 4;
19 if (level == DSLevelsTemp.WARNING_MINUS) return 5;
20 if (level == DSLevelsTemp.CRITICAL_MINUS) return 6;
21 if (level == DSLevelsTemp.BLINKING_MINUS) return 7;
22 return 1;
23 }
24}
eBleedingSourceType m_Type
const int NTFKEY_FEVERISH
Definition _constants.c:39
void TendencyTemperature(PlayerBase player)
override int TranslateLevelToStatus(int level)
string m_Key
Definition EnEntity.c:804