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

◆ GetDebugText()

override string AlarmClock_ColorBase::GetDebugText ( )
inlineprivate

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

95 {
96 string debug_output;
97
98 if( g_Game.IsDedicatedServer())
99 {
100 debug_output = "alarm in: " + GetAlarmInMin().ToString() + " mins" + "\n";
101 debug_output += "current state: " + typename.EnumToString(EAlarmClockState, m_State) + "\n";;
102 debug_output += "ringing for " + m_RingingDuration.ToString()+ " secs" + "\n";
103 debug_output += "ringing max " + GetRingingDurationMax().ToString()+ " secs" + "\n";
104 }
105 else
106 {
107 debug_output = "this is client";
108 }
109 return debug_output;
110 }
float m_RingingDuration
Определения ClockBase.c:16
int GetAlarmInMin()
Определения ClockBase.c:53
EAlarmClockState
Определения ClockBase.c:2
float GetRingingDurationMax()
Определения ClockBase.c:181
DayZGame g_Game
Определения DayZGame.c:4074
enum EObjectTemperatureState m_State
proto string ToString(bool simple=true)
static proto string ToString(void var, bool type=false, bool name=false, bool quotes=true)
Return string representation of variable.

Перекрестные ссылки g_Game, GetAlarmInMin(), GetRingingDurationMax(), m_RingingDuration, m_State, float::ToString() и string::ToString().