|
Arma Reforger Script API
|
Public Member Functions | |
| void | SCR_SettingsManagerKeybindModule () |
| int | GetActionBindCount (string actionName, string actionPreset=string.Empty, EInputDeviceType device=EInputDeviceType.KEYBOARD) |
| InputBinding | GetInputBindings () |
| void | DeleteActionBindByIndex (string actionName, int keybindIndex, string actionPreset="", EInputDeviceType device=EInputDeviceType.KEYBOARD) |
| void | StartCaptureForAction (string actionName, string actionPreset, EInputDeviceType device=EInputDeviceType.KEYBOARD, bool append=false) |
| void | SetFilterForActionByIndex (string actionName, string actionPreset, int filterIndex, int keybindIndex, SCR_EActionPrefixType prefixType, EInputDeviceType device=EInputDeviceType.KEYBOARD) |
| void | AddKeybindToActionByIndex (string actionName, string preset, int bindIndex, string filterName=string.Empty) |
| array< ref SCR_KeyBindingFilter > | GetFilters (SCR_EActionPrefixType filterType) |
| array< ref SCR_KeyBindingBind > | GetCustomBinds () |
| array< ref SCR_KeyBindingCombo > | GetCustomComboKeys () |
| bool | IsActionConflicted (string actionName, notnull out array< SCR_KeyBindingEntry > confirmedConflicts, int bindIndex, string preset=string.Empty) |
| returns false if the action has no conflicts (no other action in keybind settings with same bind), otherwise returns those actions in confirmedConflicts | |
| void | UnbindAction (string actionName, string preset="", EInputDeviceType device=EInputDeviceType.KEYBOARD) |
| void | AddComboToActionByIndex (string actionName, string preset, int comboIndex, int keybindIndex, string filterName=string.Empty, int comboPosition=0) |
| void | ResetAction (string actionName, string preset="", EInputDeviceType device=EInputDeviceType.KEYBOARD) |
| void | ResetAllActions (EInputDeviceType device=EInputDeviceType.KEYBOARD) |
| string | GetGamepadPresetPrefix () |
| string | GetPrimaryPresetPrefix () |
| void | GetControllerPresets (notnull out array< ref SCR_ControllerPreset > controllerPresets) |
| Get all preset lists defined in this module. | |
| void | GetJoystickPresets (notnull out array< ref SCR_ControllerPreset > joystickPresets) |
| Get all preset lists defined for joysticks. | |
| void | SelectControllerPresets (int presetIndex=-1) |
| Combines selected presets and feeds it to SetCustomConfigs. | |
| void | SelectJoystickPreset (int presetIndex=-1) |
| Combines selected presets and feeds it to SetCustomConfigs. | |
| void | SelectJoystickPresetPath (string path) |
| Combines selected presets and feeds it to SetCustomConfigs. | |
| int | GetActivePresetIndex (notnull array< ref SCR_ControllerPreset > presets) |
| Find index of active preset from provided controller preset list. | |
Public Member Functions inherited from SCR_SettingsManagerModuleBase | |
| ESettingManagerModuleType | GetModuleType () |
| void | SetModuleType (ESettingManagerModuleType managerType) |
| void | SCR_SettingsManagerModuleBase () |
Protected Attributes | |
| ref InputBinding | m_Binding |
| ref SCR_KeyBindingMenuConfig | m_KeybindConfig |
| ref SCR_ControllerPresetsConfig | m_ControllerPresetsConfig |
| ref SCR_ControllerPresetsConfig | m_JoystickPresetsConfig |
Protected Attributes inherited from SCR_SettingsManagerModuleBase | |
| ESettingManagerModuleType | m_eModuleType |
Static Protected Attributes | |
| const string | GAMEPAD_PRESET_PREFIX = "gamepad:" |
| const string | PRIMARY_PRESET_PREFIX = "" |
| static const ResourceName | KEY_BINDING_CONFIG = "{4EE7794C9A3F11EF}Configs/System/keyBindingMenu.conf" |
| static const ResourceName | CONTROLLER_PRESETS_CONFIG = "{27780DD27C5E97CF}Configs/System/ControlSchemes/Gamepad/ControllerPresets.conf" |
| static const ResourceName | JOYSTICK_0_PRESETS_CONFIG = "{2823E147630F55BF}Configs/System/ControlSchemes/Joystick/Joystick0Presets.conf" |
| static const ResourceName | JOYSTICK_1_PRESETS_CONFIG = "{810AEDDD191484A0}Configs/System/ControlSchemes/Joystick/Joystick1Presets.conf" |
| void SCR_SettingsManagerKeybindModule.SCR_SettingsManagerKeybindModule | ( | ) |
| void SCR_SettingsManagerKeybindModule.AddComboToActionByIndex | ( | string | actionName, |
| string | preset, | ||
| int | comboIndex, | ||
| int | keybindIndex, | ||
| string | filterName = string::Empty, | ||
| int | comboPosition = 0 ) |
| void SCR_SettingsManagerKeybindModule.AddKeybindToActionByIndex | ( | string | actionName, |
| string | preset, | ||
| int | bindIndex, | ||
| string | filterName = string::Empty ) |
| void SCR_SettingsManagerKeybindModule.DeleteActionBindByIndex | ( | string | actionName, |
| int | keybindIndex, | ||
| string | actionPreset = "", | ||
| EInputDeviceType | device = EInputDeviceType::KEYBOARD ) |
| int SCR_SettingsManagerKeybindModule.GetActionBindCount | ( | string | actionName, |
| string | actionPreset = string::Empty, | ||
| EInputDeviceType | device = EInputDeviceType::KEYBOARD ) |
| int SCR_SettingsManagerKeybindModule.GetActivePresetIndex | ( | notnull array< ref SCR_ControllerPreset > | presets | ) |
Find index of active preset from provided controller preset list.
| [in] | presets |
| void SCR_SettingsManagerKeybindModule.GetControllerPresets | ( | notnull out array< ref SCR_ControllerPreset > | controllerPresets | ) |
Get all preset lists defined in this module.
| [out] | controllerPresets | |
| [out] | joystick0Presets | |
| [out] | joystick1Presets |
| array< ref SCR_KeyBindingBind > SCR_SettingsManagerKeybindModule.GetCustomBinds | ( | ) |
| array< ref SCR_KeyBindingCombo > SCR_SettingsManagerKeybindModule.GetCustomComboKeys | ( | ) |
| array< ref SCR_KeyBindingFilter > SCR_SettingsManagerKeybindModule.GetFilters | ( | SCR_EActionPrefixType | filterType | ) |
| string SCR_SettingsManagerKeybindModule.GetGamepadPresetPrefix | ( | ) |
| InputBinding SCR_SettingsManagerKeybindModule.GetInputBindings | ( | ) |
| void SCR_SettingsManagerKeybindModule.GetJoystickPresets | ( | notnull out array< ref SCR_ControllerPreset > | joystickPresets | ) |
Get all preset lists defined for joysticks.
| string SCR_SettingsManagerKeybindModule.GetPrimaryPresetPrefix | ( | ) |
| bool SCR_SettingsManagerKeybindModule.IsActionConflicted | ( | string | actionName, |
| notnull out array< SCR_KeyBindingEntry > | confirmedConflicts, | ||
| int | bindIndex, | ||
| string | preset = string::Empty ) |
returns false if the action has no conflicts (no other action in keybind settings with same bind), otherwise returns those actions in confirmedConflicts
| void SCR_SettingsManagerKeybindModule.ResetAction | ( | string | actionName, |
| string | preset = "", | ||
| EInputDeviceType | device = EInputDeviceType::KEYBOARD ) |
| void SCR_SettingsManagerKeybindModule.ResetAllActions | ( | EInputDeviceType | device = EInputDeviceType::KEYBOARD | ) |
| void SCR_SettingsManagerKeybindModule.SelectControllerPresets | ( | int | presetIndex = -1 | ) |
Combines selected presets and feeds it to SetCustomConfigs.
| [in] | presetIndex |
| void SCR_SettingsManagerKeybindModule.SelectJoystickPreset | ( | int | presetIndex = -1 | ) |
Combines selected presets and feeds it to SetCustomConfigs.
| [in] | presetIndex |
| void SCR_SettingsManagerKeybindModule.SelectJoystickPresetPath | ( | string | path | ) |
Combines selected presets and feeds it to SetCustomConfigs.
| [in] | presetIndex |
| void SCR_SettingsManagerKeybindModule.SetFilterForActionByIndex | ( | string | actionName, |
| string | actionPreset, | ||
| int | filterIndex, | ||
| int | keybindIndex, | ||
| SCR_EActionPrefixType | prefixType, | ||
| EInputDeviceType | device = EInputDeviceType::KEYBOARD ) |
| void SCR_SettingsManagerKeybindModule.StartCaptureForAction | ( | string | actionName, |
| string | actionPreset, | ||
| EInputDeviceType | device = EInputDeviceType::KEYBOARD, | ||
| bool | append = false ) |
| void SCR_SettingsManagerKeybindModule.UnbindAction | ( | string | actionName, |
| string | preset = "", | ||
| EInputDeviceType | device = EInputDeviceType::KEYBOARD ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |