DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
InputUtils Class Reference

Static Private Member Functions

static string GetButtonNameFromInput (string pInputName, int pInputDeviceType)
 
static map< int, ref TStringArrayGetComboButtonNamesFromInput (string pInputName, int pInputDeviceType)
 returns a map of button names, combo or not
 
static array< stringGetButtonIconPathFromInput (notnull UAInput pInput, int pInputDeviceType=EUAINPUT_DEVICE_CONTROLLER)
 
static array< stringGetButtonIconPathFromInput (string pInputName, int pInputDeviceType)
 
static void GetImagesetAndIconFromInputAction (notnull UAInput pInput, int pInputDeviceType, out array< string > pImageSet, out array< string > pIconName)
 
static void GetImagesetAndIconFromInputAction (string pInputAction, int pInputDeviceType, out array< string > pImageSet, out array< string > pIconName)
 
static string GetRichtextButtonIconFromInputAction (notnull UAInput pInput, string pLocalizedDescription, int pInputDeviceType=EUAINPUT_DEVICE_CONTROLLER, float pScale=ICON_SCALE_NORMAL, bool pVertical=false)
 
static string GetRichtextButtonIconFromInputAction (string pInputAction, string pLocalizedDescription, int pInputDeviceType=EUAINPUT_DEVICE_CONTROLLER, float pScale=ICON_SCALE_NORMAL, bool pVertical=false)
 
static void UpdateConsolePresetID ()
 
static int GetConsolePresetID ()
 
static map< int, ref array< int > > GetInputActionSortingMap ()
 
static array< intGetUnsortedInputActions ()
 
static bool InitInputMetadata ()
 

Static Private Attributes

static const string PRESET_OLD = "#STR_UAPRESET_0"
 
static const string PRESET_NEW = "#STR_UAPRESET_1"
 
static const int VARIANT_OLD = 0
 
static const int VARIANT_NEW = 1
 
static int m_CurrentPresetIDConsole = -1
 
static protected ref map< int, ref array< int > > m_InputActionSortingMap
 
static protected ref array< intm_UnsortedInputActions
 
static const float ICON_SCALE_NORMAL = 1.21
 
static const float ICON_SCALE_TOOLBAR = 1.81
 

Member Function Documentation

◆ GetButtonIconPathFromInput() [1/2]

static array< string > GetButtonIconPathFromInput ( notnull UAInput  pInput,
int  pInputDeviceType = EUAINPUT_DEVICE_CONTROLLER 
)
inlinestaticprivate

◆ GetButtonIconPathFromInput() [2/2]

static array< string > GetButtonIconPathFromInput ( string  pInputName,
int  pInputDeviceType 
)
inlinestaticprivate

◆ GetButtonNameFromInput()

◆ GetComboButtonNamesFromInput()

static map< int, ref TStringArray > GetComboButtonNamesFromInput ( string  pInputName,
int  pInputDeviceType 
)
inlinestaticprivate

◆ GetConsolePresetID()

static int GetConsolePresetID ( )
inlinestaticprivate

◆ GetImagesetAndIconFromInputAction() [1/2]

static void GetImagesetAndIconFromInputAction ( notnull UAInput  pInput,
int  pInputDeviceType,
out array< string pImageSet,
out array< string pIconName 
)
inlinestaticprivate

◆ GetImagesetAndIconFromInputAction() [2/2]

static void GetImagesetAndIconFromInputAction ( string  pInputAction,
int  pInputDeviceType,
out array< string pImageSet,
out array< string pIconName 
)
inlinestaticprivate

◆ GetInputActionSortingMap()

static map< int, ref array< int > > GetInputActionSortingMap ( )
inlinestaticprivate

◆ GetRichtextButtonIconFromInputAction() [1/2]

◆ GetRichtextButtonIconFromInputAction() [2/2]

static string GetRichtextButtonIconFromInputAction ( string  pInputAction,
string  pLocalizedDescription,
int  pInputDeviceType = EUAINPUT_DEVICE_CONTROLLER,
float  pScale = ICON_SCALE_NORMAL,
bool  pVertical = false 
)
inlinestaticprivate

◆ GetUnsortedInputActions()

static array< int > GetUnsortedInputActions ( )
inlinestaticprivate

◆ InitInputMetadata()

◆ UpdateConsolePresetID()

Field Documentation

◆ ICON_SCALE_NORMAL

const float ICON_SCALE_NORMAL = 1.21
staticprivate

◆ ICON_SCALE_TOOLBAR

◆ m_CurrentPresetIDConsole

int m_CurrentPresetIDConsole = -1
staticprivate

◆ m_InputActionSortingMap

protected ref map<int, ref array<int> > m_InputActionSortingMap
staticprivate

◆ m_UnsortedInputActions

protected ref array<int> m_UnsortedInputActions
staticprivate

◆ PRESET_NEW

const string PRESET_NEW = "#STR_UAPRESET_1"
staticprivate

◆ PRESET_OLD

const string PRESET_OLD = "#STR_UAPRESET_0"
staticprivate

◆ VARIANT_NEW

const int VARIANT_NEW = 1
staticprivate

Referenced by UpdateConsolePresetID().

◆ VARIANT_OLD

const int VARIANT_OLD = 0
staticprivate

Referenced by UpdateConsolePresetID().


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