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

Public Member Functions

override void OnRepeat ()
 
override void OnInputDeviceIsGamepad (bool isGamepad)
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerDeattached (Widget w)
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from MenuRootSubComponent
Widget GetWidget ()
 Get widget to which the component belongs to.
 
MenuRootBase GetMenu ()
 Get menu of which the widget is part of.
 
MenuRootComponent GetRootComponent ()
 Get root component of this subcomponent,.
 
void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 

Protected Member Functions

void OnModeAdd (SCR_EditorModeEntity modeEntity)
 
void OnModeRemove (SCR_EditorModeEntity modeEntity)
 
void CreateDropdown ()
 
void OnModeSelected (SCR_CustomDropdownEditorUIComponent dropdown, int index)
 
void OnModeChange (SCR_EditorModeEntity currentModeEntity, SCR_EditorModeEntity prevModeEntity)
 
void RefreshModes ()
 
override void OnDialogOpened (SCR_DialogEditorUIComponent linkedComponent)
 
void SetSiblingMode (int relIndex)
 
void OnEditorModePrev (float value, EActionTrigger reason)
 
void OnEditorModeNext (float value, EActionTrigger reason)
 
void OnDropdownOpen (SCR_CustomDropdownEditorUIComponent dropdown)
 
void OnDropdownClosed (SCR_CustomDropdownEditorUIComponent dropdown)
 
- Protected Member Functions inherited from SCR_DialogEditorUIComponent
void AllowFocus (Widget w)
 
void FocusWidget (Widget w)
 
void SetLinkedWidgetVisibility (bool show)
 
void OnInput (float value, EActionTrigger reason)
 
void OnRepeat ()
 
bool CanOpenDialog ()
 
void CloseDialog ()
 
void OnInputDeviceIsGamepad (bool isGamepad)
 
void OnMenuUpdate (float timeSlice)
 
void OnDialogOpened (SCR_DialogEditorUIComponent linkedComponent)
 
void OnDialogClosed (SCR_DialogEditorUIComponent linkedComponent)
 
- Protected Member Functions inherited from SCR_BaseEditorUIComponent
vector OnCancelDown ()
 
bool OnCancelUp ()
 
void OnCancelExpired ()
 
- Protected Member Functions inherited from MenuRootSubComponent
bool IsUnique ()
 Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for.
 

Protected Attributes

ref array< EEditorModem_aActiveModes = {}
 
ref SCR_SortedArray< SCR_EditorModePrefabm_aOrderedEditorModePrefabs = new SCR_SortedArray<SCR_EditorModePrefab>()
 
SCR_CustomDropdownEditorUIComponent m_DropdownWidget
 
SCR_EditorManagerEntity m_EditorManager
 
- Protected Attributes inherited from SCR_DialogEditorUIComponent
string m_sToggleActionName
 
string m_sRepeatActionName
 
ChimeraMenuPreset m_DialogPreset
 
int m_iHideLinkedIndex
 
bool m_bIsInDialog
 
bool m_CanCloseWithToggleAction = true
 
EditorMenuBase m_EditorMenu
 
SCR_DialogEditorUIComponent m_LinkedComponent
 
- Protected Attributes inherited from SCR_BaseEditorUIComponent
vector m_vClickPosCancel
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_BaseEditorUIComponent
const int CANCEL_CLICK_MAX_DIS = 5
 
const int CANCEL_CLICK_MAX_TIME = 500
 

Member Function Documentation

◆ CreateDropdown()

void SCR_ModesEditorUIComponent.CreateDropdown ( )
protected

◆ HandlerAttachedScripted()

override void SCR_ModesEditorUIComponent.HandlerAttachedScripted ( Widget  w)

Event called when subcomponent is initialized.

Called only after all other subcomponents were registered as well and can be searched for. To be overwritten by inherited classes.

Parameters
Widget

Implements SCR_DialogEditorUIComponent.

◆ HandlerDeattached()

override void SCR_ModesEditorUIComponent.HandlerDeattached ( Widget  w)

◆ OnDialogOpened()

override void SCR_ModesEditorUIComponent.OnDialogOpened ( SCR_DialogEditorUIComponent  linkedComponent)
protected

◆ OnDropdownClosed()

void SCR_ModesEditorUIComponent.OnDropdownClosed ( SCR_CustomDropdownEditorUIComponent  dropdown)
protected

◆ OnDropdownOpen()

void SCR_ModesEditorUIComponent.OnDropdownOpen ( SCR_CustomDropdownEditorUIComponent  dropdown)
protected

◆ OnEditorModeNext()

void SCR_ModesEditorUIComponent.OnEditorModeNext ( float  value,
EActionTrigger  reason 
)
protected

◆ OnEditorModePrev()

void SCR_ModesEditorUIComponent.OnEditorModePrev ( float  value,
EActionTrigger  reason 
)
protected

◆ OnInputDeviceIsGamepad()

override void SCR_ModesEditorUIComponent.OnInputDeviceIsGamepad ( bool  isGamepad)

◆ OnModeAdd()

void SCR_ModesEditorUIComponent.OnModeAdd ( SCR_EditorModeEntity  modeEntity)
protected

◆ OnModeChange()

void SCR_ModesEditorUIComponent.OnModeChange ( SCR_EditorModeEntity  currentModeEntity,
SCR_EditorModeEntity  prevModeEntity 
)
protected

◆ OnModeRemove()

void SCR_ModesEditorUIComponent.OnModeRemove ( SCR_EditorModeEntity  modeEntity)
protected

◆ OnModeSelected()

void SCR_ModesEditorUIComponent.OnModeSelected ( SCR_CustomDropdownEditorUIComponent  dropdown,
int  index 
)
protected

◆ OnRepeat()

override void SCR_ModesEditorUIComponent.OnRepeat ( )

◆ RefreshModes()

void SCR_ModesEditorUIComponent.RefreshModes ( )
protected

◆ SetSiblingMode()

void SCR_ModesEditorUIComponent.SetSiblingMode ( int  relIndex)
protected

Member Data Documentation

◆ m_aActiveModes

ref array<EEditorMode> SCR_ModesEditorUIComponent.m_aActiveModes = {}
protected

◆ m_aOrderedEditorModePrefabs

ref SCR_SortedArray<SCR_EditorModePrefab> SCR_ModesEditorUIComponent.m_aOrderedEditorModePrefabs = new SCR_SortedArray<SCR_EditorModePrefab>()
protected

◆ m_DropdownWidget

SCR_CustomDropdownEditorUIComponent SCR_ModesEditorUIComponent.m_DropdownWidget
protected

◆ m_EditorManager

SCR_EditorManagerEntity SCR_ModesEditorUIComponent.m_EditorManager
protected

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