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

◆ GetDebugText()

override string KitchenTimer::GetDebugText ( )
inlineprotected

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

243 {
244 string debug_output;
245
246 if (GetGame().IsDedicatedServer())
247 {
248 debug_output = "alarm in: " + m_AlarmInSecs.ToString() + " secs" + "\n";
249 debug_output += "current state: " + typename.EnumToString(EAlarmClockState, m_State) + "\n";
250 debug_output += "ringing for " + m_RingingDuration.ToString()+ " secs" + "\n";
251 debug_output += "ringing max " + GetRingingDurationMax().ToString()+ " secs" + "\n";
252 }
253 else
254 {
255 debug_output = "this is client";
256 }
257
258 return debug_output;
259 }
float m_RingingDuration
Определения ClockBase.c:16
EAlarmClockState
Определения ClockBase.c:2
enum EObjectTemperatureState m_State
int m_AlarmInSecs
Определения KitchenTimer.c:12
override float GetRingingDurationMax()
Определения KitchenTimer.c:89
proto string ToString(bool simple=true)
proto native CGame GetGame()

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