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

◆ AutoTestLaunch()

void CGame::AutoTestLaunch ( string param)
inlineprotected

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

2321 {
2322 if (!AutotestConfigHandler.LoadData(param))
2323 AutoTestFixture.LogRPT("Failed to load autotest configuration, continue with mission load.");
2324 else
2325 m_AutotestEnabled = true;
2326
2327 string mission;
2328 GetCLIParam("mission", mission);
2329 if (!mission)
2330 {
2331 AutoTestFixture.LogRPT("Parameter 'mission' is not set on CLI.");
2333 }
2334
2336 }
Mission mission
Определения DisplayStatus.c:28
proto native void PlayMission(string path)
Starts mission (equivalent for SQF playMission). You MUST use double slash \.
bool m_AutotestEnabled
Определения DayZGame.c:899
proto native void RequestExit(int code)
Sets exit code and quits in the right moment.
proto bool GetCLIParam(string param, out string val)
Returns command line argument.
const int IDC_MAIN_QUIT
Определения 3_Game/DayZ/constants.c:144

Перекрестные ссылки GetCLIParam(), IDC_MAIN_QUIT, AutotestConfigHandler::LoadData(), AutoTestFixture::LogRPT(), m_AutotestEnabled, mission, PlayMission() и RequestExit().

Используется в OnInitialize().