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

◆ OnBenchmarkEnd()

void MissionBenchmark::OnBenchmarkEnd ( string reason)
inlineprotected

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

335 {
336 if (!m_Config.m_LogToRPT)
337 {
339
340 if (m_Config.m_DoDevPrints)
341 Print( "Benchmark CSV file closed" );
342 }
343
344 if (m_Config.m_DoDevPrints)
345 Print(string.Format("%1", reason));
346
347 FreeDebugCamera.GetInstance().SetActive(false);
348 GetGame().RequestExit( IDC_MAIN_QUIT ); // does not work on consoles ?
349 }
proto native void RequestExit(int code)
Sets exit code and quits in the right moment.
ref BenchmarkConfig m_Config
Определения MissionBenchmark.c:131
FileHandle m_CSVLog
Определения MissionBenchmark.c:127
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
proto void CloseFile(FileHandle file)
Close the File.
const int IDC_MAIN_QUIT
Определения constants.c:144

Перекрестные ссылки CloseFile(), GetGame(), IDC_MAIN_QUIT, m_Config, m_CSVLog, Print() и CGame::RequestExit().

Используется в CreateCSVLog(), OnLocationSwitch() и Start().