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

Public Member Functions

void OnCardHover (Widget itemWidget, int prefabIndex, bool enter)
 
void OnCardLMB (Widget itemWidget)
 
override void OnRepeat ()
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from SCR_BaseToolbarEditorUIComponent
bool IsUnderCursor ()
 
void MarkForRefresh ()
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
override void HandlerAttachedScripted (Widget w)
 Event called when subcomponent is initialized.
 
override void HandlerAttached (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

Widget CreateItem (int index)
 
override void OnPageChanged (int page)
 
override void ShowEntries (Widget contentWidget, int indexStart, int indexEnd)
 
void OnBudgetMaxReached (EEditableEntityBudget entityBudget, bool maxReached)
 
void OnBrowserEntriesChanged ()
 
void OnResourceTypeEnabledChanged (array< EResourceType > disabledResourceTypes)
 
override void Refresh ()
 
- Protected Member Functions inherited from SCR_BaseToolbarEditorUIComponent
bool CreateItem (out Widget itemWidget, out SCR_BaseToolbarItemEditorUIComponent toolbarItem)
 
void DeleteAllItems ()
 
void SetToolbarVisible (bool show)
 
void ShowEntries (Widget contentWidget, int indexStart, int indexEnd)
 
void Refresh ()
 
void OnPageChanged (int page)
 
void CopyPage (SCR_DialogEditorUIComponent linkedComponent)
 
override bool CanOpenDialog ()
 
override void OnDialogOpened (SCR_DialogEditorUIComponent linkedComponent)
 
override void OnDialogClosed (SCR_DialogEditorUIComponent linkedComponent)
 
- 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< ref SCR_ContentBrowserEditorCardm_aCardPrefabs
 
bool m_bShowBudgetCost
 
EEditableEntityBudget m_eBudgetToShow
 
SCR_PlacingEditorComponent m_PlacingManager
 
SCR_ContentBrowserEditorComponent m_ContentBrowserManager
 
SCR_BudgetEditorComponent m_BudgetManager
 
ResourceName m_RepeatPrefab
 
ResourceName m_DefaultLayout
 
- Protected Attributes inherited from SCR_BaseToolbarEditorUIComponent
ResourceName m_ItemLayout
 
int m_iHideParentIndexWhenEmpty
 
string m_sEmptyWidgetName
 
string m_sItemsWidgetName
 
SCR_ExternalPaginationUIComponent m_Pagination
 
Widget m_ItemsWidget
 
Widget m_HideWidget
 
int m_iFirstShownIndex
 
int m_iFocusedIndex
 
int m_iItemsCount
 
int m_iPage
 
bool m_bIsUnderCursor
 
- 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
 
- Static Protected Attributes inherited from SCR_BaseToolbarEditorUIComponent
static const int EMPTY_Z_ORDER = int.MAX
 

Member Function Documentation

◆ CreateItem()

Widget SCR_PlacingToolbarEditorUIComponent.CreateItem ( int  index)
protected

◆ HandlerAttachedScripted()

override void SCR_PlacingToolbarEditorUIComponent.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_BaseToolbarEditorUIComponent.

◆ HandlerDeattached()

override void SCR_PlacingToolbarEditorUIComponent.HandlerDeattached ( Widget  w)

◆ OnBrowserEntriesChanged()

void SCR_PlacingToolbarEditorUIComponent.OnBrowserEntriesChanged ( )
protected

◆ OnBudgetMaxReached()

void SCR_PlacingToolbarEditorUIComponent.OnBudgetMaxReached ( EEditableEntityBudget  entityBudget,
bool  maxReached 
)
protected

◆ OnCardHover()

void SCR_PlacingToolbarEditorUIComponent.OnCardHover ( Widget  itemWidget,
int  prefabIndex,
bool  enter 
)
Parameters
[in]itemWidget
[in]prefabIndex
[in]enter

◆ OnCardLMB()

void SCR_PlacingToolbarEditorUIComponent.OnCardLMB ( Widget  itemWidget)
Parameters
[in]itemWidget

◆ OnPageChanged()

override void SCR_PlacingToolbarEditorUIComponent.OnPageChanged ( int  page)
protected

◆ OnRepeat()

override void SCR_PlacingToolbarEditorUIComponent.OnRepeat ( )

◆ OnResourceTypeEnabledChanged()

void SCR_PlacingToolbarEditorUIComponent.OnResourceTypeEnabledChanged ( array< EResourceType >  disabledResourceTypes)
protected

◆ Refresh()

override void SCR_PlacingToolbarEditorUIComponent.Refresh ( )
protected

◆ ShowEntries()

override void SCR_PlacingToolbarEditorUIComponent.ShowEntries ( Widget  contentWidget,
int  indexStart,
int  indexEnd 
)
protected

Member Data Documentation

◆ m_aCardPrefabs

ref array<ref SCR_ContentBrowserEditorCard> SCR_PlacingToolbarEditorUIComponent.m_aCardPrefabs
protected

◆ m_bShowBudgetCost

bool SCR_PlacingToolbarEditorUIComponent.m_bShowBudgetCost
protected

◆ m_BudgetManager

SCR_BudgetEditorComponent SCR_PlacingToolbarEditorUIComponent.m_BudgetManager
protected

◆ m_ContentBrowserManager

SCR_ContentBrowserEditorComponent SCR_PlacingToolbarEditorUIComponent.m_ContentBrowserManager
protected

◆ m_DefaultLayout

ResourceName SCR_PlacingToolbarEditorUIComponent.m_DefaultLayout
protected

◆ m_eBudgetToShow

EEditableEntityBudget SCR_PlacingToolbarEditorUIComponent.m_eBudgetToShow
protected

◆ m_PlacingManager

SCR_PlacingEditorComponent SCR_PlacingToolbarEditorUIComponent.m_PlacingManager
protected

◆ m_RepeatPrefab

ResourceName SCR_PlacingToolbarEditorUIComponent.m_RepeatPrefab
protected

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