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

◆ SetProfileOptionInt()

void DayZProfilesOptions::SetProfileOptionInt ( EDayZProfilesOptions option,
int value )
inlineprivate

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

535 {
537 {
539
540 po.param2 = value;
541 GetGame().SetProfileString(po.param1, value.ToString());
543
544 m_OnIntOptionChanged.Invoke(option, value);
545 }
546 }
Param3< string, int, int > DayZProfilesOptionInt
Определения DayZGame.c:399
proto native void SetProfileString(string name, string value)
Sets string to profile variable.
proto native void SaveProfile()
Saves profile on disk.
static ref ScriptInvoker m_OnIntOptionChanged
Определения DayZGame.c:408
ref map< EDayZProfilesOptions, ref DayZProfilesOptionInt > m_DayZProfilesOptionsInt
Определения DayZGame.c:405
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_DayZProfilesOptionsInt, m_OnIntOptionChanged, CGame::SaveProfile() и CGame::SetProfileString().

Используется в RegisterProfileOptionInt() и ResetOptionsInt().