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

◆ UpdateConsolePresetID()

static void InputUtils::UpdateConsolePresetID ( )
inlinestaticprotected

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

210 {
211 string profile_name;
212 GetGame().GetInput().GetProfileName(GetUApi().PresetCurrent(), profile_name);
213
214 if (profile_name == PRESET_OLD)
215 {
217 }
218 else
219 {
221 }
222 }
proto native UAInputAPI GetUApi()
proto native Input GetInput()
proto int GetProfileName(int profile_index, out string name)
gets profile by index
static const int VARIANT_NEW
Определения InputUtils.c:7
static const string PRESET_OLD
Определения InputUtils.c:4
static int m_CurrentPresetIDConsole
Определения InputUtils.c:8
static const int VARIANT_OLD
Определения InputUtils.c:6
proto native CGame GetGame()

Перекрестные ссылки GetGame(), CGame::GetInput(), Input::GetProfileName(), GetUApi(), m_CurrentPresetIDConsole, PRESET_OLD, VARIANT_NEW и VARIANT_OLD.

Используется в UIScriptedMenu::ComposeData() и UIScriptedMenu::PerformSwitchPreset().