DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetPulseMessage()

static string ActionCheckPulse::GetPulseMessage ( EPulseType pulse_type,
int blood_level )
inlinestaticprivate

См. определение в файле ActionCheckPulse.c строка 18

19 {
20 //builds string table keys:
21
22 //pulse_strong
23 //pulse_decent
24 //pulse_moderate
25 //pulse_weak
26 //pulse_faint
27 //pulse_strong_irregular
28 //pulse_decent_irregular
29 //pulse_moderate_irregular
30 //pulse_weak_irregular
31 //pulse_faint_irregular
32
33 string blood_msg = "strong";
34 string pulse_msg = "";
35
36 if(pulse_type == EPulseType.IRREGULAR)
37 {
38 pulse_msg = "_irregular";
39 }
40 if( blood_level == EStatLevels.HIGH )
41 {
42 blood_msg = "decent";
43 }
44 if( blood_level == EStatLevels.MEDIUM )
45 {
46 blood_msg = "moderate";
47 }
48 if( blood_level == EStatLevels.LOW )
49 {
50 blood_msg = "weak";
51 }
52 if( blood_level == EStatLevels.CRITICAL )
53 {
54 blood_msg = "faint";
55 }
56 //string message = blood_msg + " " + pulse_msg + " pulse";
57 string message = "#"+ "pulse_" + blood_msg + pulse_msg;
58 return message;
59
60 }
EPulseType
Определения EPulseType.c:2
EStatLevels
Определения EStatLevels.c:2

Используется в ManBase::OnRPC().