Arma Reforger Script API
|
Public Member Functions | |
void | SCR_SettingsManagerKeybindModule () |
void | LoadKeybindConfig () |
void | LoadControllerPresetsConfig () |
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 () |
array< ref SCR_ControllerPreset > | GetControllerPresets () |
void | SetControllerPreset (int presetIndex) |
int | GetActivePresetIndex () |
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 |
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 string | KEY_BINDING_CONFIG = "{4EE7794C9A3F11EF}Configs/System/keyBindingMenu.conf" |
static const string | CONTROLLER_PRESETS_CONFIG = "{27780DD27C5E97CF}Configs/System/ControlSchemes/Gamepad/ControllerPresets.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 | ( | ) |
array< ref SCR_ControllerPreset > SCR_SettingsManagerKeybindModule.GetControllerPresets | ( | ) |
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 | ( | ) |
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.LoadControllerPresetsConfig | ( | ) |
void SCR_SettingsManagerKeybindModule.LoadKeybindConfig | ( | ) |
void SCR_SettingsManagerKeybindModule.ResetAction | ( | string | actionName, |
string | preset = "" , |
||
EInputDeviceType | device = EInputDeviceType::KEYBOARD |
||
) |
void SCR_SettingsManagerKeybindModule.ResetAllActions | ( | EInputDeviceType | device = EInputDeviceType::KEYBOARD | ) |
void SCR_SettingsManagerKeybindModule.SetControllerPreset | ( | int | 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 |
|
protected |
|
protected |
|
protected |
|
staticprotected |