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

◆ AutoTestLaunch()

void CGame::AutoTestLaunch ( string param)
inlineprotected

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

2307 {
2308 if (!AutotestConfigHandler.LoadData(param))
2309 AutoTestFixture.LogRPT("Failed to load autotest configuration, continue with mission load.");
2310 else
2311 m_AutotestEnabled = true;
2312
2313 string mission;
2314 GetCLIParam("mission", mission);
2315 if (!mission)
2316 {
2317 AutoTestFixture.LogRPT("Parameter 'mission' is not set on CLI.");
2319 }
2320
2322 }
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:897
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
Определения constants.c:144

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

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