Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_InterfaceSettingsSubMenu Interface Reference
Inheritance diagram for SCR_InterfaceSettingsSubMenu:
[legend]

Public Member Functions

override void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
 
void OnChatChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnNotificationsChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnVoNChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnControlHintsChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnHintsChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnNearbyInteractionsChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnNameTagsChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnFPSChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnServerFPSChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnPacketLossChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnLatencyChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnGameVersionChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnWeaponInfoChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
void OnVehicleInfoChange (SCR_SpinBoxComponent spinBox, int currentItem)
 
- Public Member Functions inherited from SCR_SettingsSubMenuBase
override void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
 
override void OnTabHide ()
 
override void OnTabShow ()
 
- Public Member Functions inherited from SCR_SubMenuBase
void OnMenuFocusGained ()
 
void OnMenuFocusLost ()
 
void OnMenuShow ()
 
void OnMenuHide ()
 
void OnMenuUpdate (float tDelta)
 
void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
 
void OnTabShow ()
 
void OnTabHide ()
 
void OnTabRemove ()
 
void OnTabChange ()
 
bool GetShown ()
 
int GetIndex ()
 
ScriptInvokerVoid GetOnRequestCloseMenu ()
 
ScriptInvokerInt2 GetOnRequestTabChange ()
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Protected Member Functions

void SetupSpinboxes (string widgetName, string settingName)
 Get the correct Spinnerbox widget for the setting and set it's value based on the stored setting.
 
- Protected Member Functions inherited from SCR_SettingsSubMenuBase
void LoadSettings (bool forceLoadSettings=false, bool addEntryChangedEventHandler=true)
 
void OnMenuItemChanged (SCR_SettingsBindingBase binding)
 
- Protected Member Functions inherited from SCR_SubMenuBase
void ShowNavigationButtons (bool show)
 
void FlagNavigationButtonVisibility (SCR_InputButtonComponent button, bool show)
 
void SetNavigationButtonVisibile (SCR_InputButtonComponent button, bool show, bool animate=false)
 
SCR_InputButtonComponent CreateNavigationButton (string actionName, string label, bool rightFooter=false, bool show=true)
 
void RequestCloseMenu ()
 
void RequestTabChange (int newTabIndex)
 

Protected Attributes

BaseContainer m_InterfaceSettings
 
SCR_SpinBoxComponent m_SpinnerBoxComp
 
- Protected Attributes inherited from SCR_SettingsSubMenuBase
ref array< ref SCR_SettingsBindingBasem_aSettingsBindings = {}
 
ScrollLayoutWidget m_wScroll
 
bool m_bLoadingSettings
 
- Protected Attributes inherited from SCR_SubMenuBase
ResourceName m_sNavigationButtonLayout
 
SCR_DynamicFooterComponent m_DynamicFooter
 
ref array< SCR_InputButtonComponentm_aNavigationButtons = {}
 
ref map< SCR_InputButtonComponent, bool > m_aNavigationButtonsVisibilityFlags = new map<SCR_InputButtonComponent, bool>()
 
Widget m_wMenuRoot
 
int m_iIndex
 
bool m_bShown
 
bool m_bFocused
 
ref ScriptInvokerVoid m_OnRequestCloseMenu
 
ref ScriptInvokerInt2 m_OnRequestTabChange
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

const string CHAT_SPINBOX_WIDGET_NAME = "Chat"
 
const string NOTIFICATIONS_SPINBOX_WIDGET_NAME = "Notifications"
 
const string VON_SPINBOX_WIDGET_NAME = "VoN"
 
const string CONTROLHINTS_SPINBOX_WIDGET_NAME = "ControlHints"
 
const string HINTS_SPINBOX_WIDGET_NAME = "Hints"
 
const string NEARBYINTERACTION_SPINBOX_WIDGET_NAME = "NearbyInteractions"
 
const string NAMETAGS_SPINBOX_WIDGET_NAME = "NameTags"
 
const string FPS_SPINBOX_WIDGET_NAME = "FPS"
 
const string SERVER_FPS_SPINBOX_WIDGET_NAME = "ServerFPS"
 
const string PACKETLOSS_SPINBOX_WIDGET_NAME = "PacketLoss"
 
const string LATENCY_SPINBOX_WIDGET_NAME = "Latency"
 
const string GAMEVERSION_SPINBOX_WIDGET_NAME = "GameVersion"
 
const string WEAPONINFO_SPINBOX_WIDGET_NAME = "WeaponInfo"
 
const string VEHICLEINFO_SPINBOX_WIDGET_NAME = "VehicleInfo"
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Member Function Documentation

◆ OnChatChange()

void SCR_InterfaceSettingsSubMenu.OnChatChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnControlHintsChange()

void SCR_InterfaceSettingsSubMenu.OnControlHintsChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnFPSChange()

void SCR_InterfaceSettingsSubMenu.OnFPSChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnGameVersionChange()

void SCR_InterfaceSettingsSubMenu.OnGameVersionChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnHintsChange()

void SCR_InterfaceSettingsSubMenu.OnHintsChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnLatencyChange()

void SCR_InterfaceSettingsSubMenu.OnLatencyChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnNameTagsChange()

void SCR_InterfaceSettingsSubMenu.OnNameTagsChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnNearbyInteractionsChange()

void SCR_InterfaceSettingsSubMenu.OnNearbyInteractionsChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnNotificationsChange()

void SCR_InterfaceSettingsSubMenu.OnNotificationsChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnPacketLossChange()

void SCR_InterfaceSettingsSubMenu.OnPacketLossChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnServerFPSChange()

void SCR_InterfaceSettingsSubMenu.OnServerFPSChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnTabCreate()

override void SCR_InterfaceSettingsSubMenu.OnTabCreate ( Widget  menuRoot,
ResourceName  buttonsLayout,
int  index 
)

◆ OnVehicleInfoChange()

void SCR_InterfaceSettingsSubMenu.OnVehicleInfoChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnVoNChange()

void SCR_InterfaceSettingsSubMenu.OnVoNChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ OnWeaponInfoChange()

void SCR_InterfaceSettingsSubMenu.OnWeaponInfoChange ( SCR_SpinBoxComponent  spinBox,
int  currentItem 
)

◆ SetupSpinboxes()

void SCR_InterfaceSettingsSubMenu.SetupSpinboxes ( string  widgetName,
string  settingName 
)
protected

Get the correct Spinnerbox widget for the setting and set it's value based on the stored setting.

Parameters
[in]nameof the Spinnerbox widget
[in]variablename of the setting from SCR_InterfaceSettings

Member Data Documentation

◆ CHAT_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.CHAT_SPINBOX_WIDGET_NAME = "Chat"
staticprotected

◆ CONTROLHINTS_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.CONTROLHINTS_SPINBOX_WIDGET_NAME = "ControlHints"
staticprotected

◆ FPS_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.FPS_SPINBOX_WIDGET_NAME = "FPS"
staticprotected

◆ GAMEVERSION_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.GAMEVERSION_SPINBOX_WIDGET_NAME = "GameVersion"
staticprotected

◆ HINTS_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.HINTS_SPINBOX_WIDGET_NAME = "Hints"
staticprotected

◆ LATENCY_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.LATENCY_SPINBOX_WIDGET_NAME = "Latency"
staticprotected

◆ m_InterfaceSettings

BaseContainer SCR_InterfaceSettingsSubMenu.m_InterfaceSettings
protected

◆ m_SpinnerBoxComp

SCR_SpinBoxComponent SCR_InterfaceSettingsSubMenu.m_SpinnerBoxComp
protected

◆ NAMETAGS_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.NAMETAGS_SPINBOX_WIDGET_NAME = "NameTags"
staticprotected

◆ NEARBYINTERACTION_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.NEARBYINTERACTION_SPINBOX_WIDGET_NAME = "NearbyInteractions"
staticprotected

◆ NOTIFICATIONS_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.NOTIFICATIONS_SPINBOX_WIDGET_NAME = "Notifications"
staticprotected

◆ PACKETLOSS_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.PACKETLOSS_SPINBOX_WIDGET_NAME = "PacketLoss"
staticprotected

◆ SERVER_FPS_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.SERVER_FPS_SPINBOX_WIDGET_NAME = "ServerFPS"
staticprotected

◆ VEHICLEINFO_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.VEHICLEINFO_SPINBOX_WIDGET_NAME = "VehicleInfo"
staticprotected

◆ VON_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.VON_SPINBOX_WIDGET_NAME = "VoN"
staticprotected

◆ WEAPONINFO_SPINBOX_WIDGET_NAME

const string SCR_InterfaceSettingsSubMenu.WEAPONINFO_SPINBOX_WIDGET_NAME = "WeaponInfo"
staticprotected

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