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

◆ OnBenchmarkEnd()

void MissionBenchmark::OnBenchmarkEnd ( string reason)
inlineprotected

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

347 {
348 if (!m_Config.m_LogToRPT)
349 {
351
352 if (m_Config.m_DoDevPrints)
353 Print( "Benchmark CSV file closed" );
354 }
355
356 if (m_Config.m_DoDevPrints)
357 Print(string.Format("%1", reason));
358
359 FreeDebugCamera.GetInstance().SetActive(false);
360 GetGame().RequestExit( IDC_MAIN_QUIT ); // does not work on consoles ?
361 }
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
Определения 3_Game/constants.c:144

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

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