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

◆ OnBenchmarkEnd()

void MissionBenchmark::OnBenchmarkEnd ( string reason)
inlineprotected

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

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

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

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