Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_SettingsManagerKeybindModule Interface Reference
Inheritance diagram for SCR_SettingsManagerKeybindModule:
SCR_SettingsManagerModuleBase

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_KeyBindingFilterGetFilters (SCR_EActionPrefixType filterType)
 
array< ref SCR_KeyBindingBindGetCustomBinds ()
 
array< ref SCR_KeyBindingComboGetCustomComboKeys ()
 
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_ControllerPresetGetControllerPresets ()
 
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"
 

Constructor & Destructor Documentation

◆ SCR_SettingsManagerKeybindModule()

void SCR_SettingsManagerKeybindModule.SCR_SettingsManagerKeybindModule ( )

Member Function Documentation

◆ AddComboToActionByIndex()

void SCR_SettingsManagerKeybindModule.AddComboToActionByIndex ( string actionName,
string preset,
int comboIndex,
int keybindIndex,
string filterName = string::Empty,
int comboPosition = 0 )

◆ AddKeybindToActionByIndex()

void SCR_SettingsManagerKeybindModule.AddKeybindToActionByIndex ( string actionName,
string preset,
int bindIndex,
string filterName = string::Empty )

◆ DeleteActionBindByIndex()

void SCR_SettingsManagerKeybindModule.DeleteActionBindByIndex ( string actionName,
int keybindIndex,
string actionPreset = "",
EInputDeviceType device = EInputDeviceType::KEYBOARD )

◆ GetActionBindCount()

int SCR_SettingsManagerKeybindModule.GetActionBindCount ( string actionName,
string actionPreset = string::Empty,
EInputDeviceType device = EInputDeviceType::KEYBOARD )

◆ GetActivePresetIndex()

int SCR_SettingsManagerKeybindModule.GetActivePresetIndex ( )

◆ GetControllerPresets()

array< ref SCR_ControllerPreset > SCR_SettingsManagerKeybindModule.GetControllerPresets ( )

◆ GetCustomBinds()

array< ref SCR_KeyBindingBind > SCR_SettingsManagerKeybindModule.GetCustomBinds ( )

◆ GetCustomComboKeys()

array< ref SCR_KeyBindingCombo > SCR_SettingsManagerKeybindModule.GetCustomComboKeys ( )

◆ GetFilters()

array< ref SCR_KeyBindingFilter > SCR_SettingsManagerKeybindModule.GetFilters ( SCR_EActionPrefixType filterType)

◆ GetGamepadPresetPrefix()

string SCR_SettingsManagerKeybindModule.GetGamepadPresetPrefix ( )

◆ GetInputBindings()

InputBinding SCR_SettingsManagerKeybindModule.GetInputBindings ( )

◆ GetPrimaryPresetPrefix()

string SCR_SettingsManagerKeybindModule.GetPrimaryPresetPrefix ( )

◆ IsActionConflicted()

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

◆ LoadControllerPresetsConfig()

void SCR_SettingsManagerKeybindModule.LoadControllerPresetsConfig ( )

◆ LoadKeybindConfig()

void SCR_SettingsManagerKeybindModule.LoadKeybindConfig ( )

◆ ResetAction()

void SCR_SettingsManagerKeybindModule.ResetAction ( string actionName,
string preset = "",
EInputDeviceType device = EInputDeviceType::KEYBOARD )

◆ ResetAllActions()

void SCR_SettingsManagerKeybindModule.ResetAllActions ( EInputDeviceType device = EInputDeviceType::KEYBOARD)

◆ SetControllerPreset()

void SCR_SettingsManagerKeybindModule.SetControllerPreset ( int presetIndex)

◆ SetFilterForActionByIndex()

void SCR_SettingsManagerKeybindModule.SetFilterForActionByIndex ( string actionName,
string actionPreset,
int filterIndex,
int keybindIndex,
SCR_EActionPrefixType prefixType,
EInputDeviceType device = EInputDeviceType::KEYBOARD )

◆ StartCaptureForAction()

void SCR_SettingsManagerKeybindModule.StartCaptureForAction ( string actionName,
string actionPreset,
EInputDeviceType device = EInputDeviceType::KEYBOARD,
bool append = false )

◆ UnbindAction()

void SCR_SettingsManagerKeybindModule.UnbindAction ( string actionName,
string preset = "",
EInputDeviceType device = EInputDeviceType::KEYBOARD )

Member Data Documentation

◆ CONTROLLER_PRESETS_CONFIG

const string SCR_SettingsManagerKeybindModule.CONTROLLER_PRESETS_CONFIG = "{27780DD27C5E97CF}Configs/System/ControlSchemes/Gamepad/ControllerPresets.conf"
staticprotected

◆ GAMEPAD_PRESET_PREFIX

const string SCR_SettingsManagerKeybindModule.GAMEPAD_PRESET_PREFIX = "gamepad:"
staticprotected

◆ KEY_BINDING_CONFIG

const string SCR_SettingsManagerKeybindModule.KEY_BINDING_CONFIG = "{4EE7794C9A3F11EF}Configs/System/keyBindingMenu.conf"
staticprotected

◆ m_Binding

ref InputBinding SCR_SettingsManagerKeybindModule.m_Binding
protected

◆ m_ControllerPresetsConfig

ref SCR_ControllerPresetsConfig SCR_SettingsManagerKeybindModule.m_ControllerPresetsConfig
protected

◆ m_KeybindConfig

ref SCR_KeyBindingMenuConfig SCR_SettingsManagerKeybindModule.m_KeybindConfig
protected

◆ PRIMARY_PRESET_PREFIX

const string SCR_SettingsManagerKeybindModule.PRIMARY_PRESET_PREFIX = ""
staticprotected

The documentation for this interface was generated from the following file: