Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_EditorContentBrowserSaveStateDataUI Interface Reference

Editor Content browser State data that includes UI data for tabs. More...

Inheritance diagram for SCR_EditorContentBrowserSaveStateDataUI:
[legend]

Public Member Functions

bool CanBeShown ()
 To be overridden in inherited classes.
 
SCR_UIInfo GetUIInfo ()
 Get UI Info.
 
void GetTabInfo (out string name, out string filterAmount, out ResourceName icon, array< EEditableEntityLabel > activeLabels=null)
 Get tab info for displaying in editor content browser.
 
- Public Member Functions inherited from SCR_EditorContentBrowserSaveStateData
int GetSavedLabelCount ()
 Get saved Label filters count.
 
void SetLabels (notnull array< EEditableEntityLabel > savedLabels, bool checkForInvalid=false)
 Set saved Label filters.
 
void AddRemoveLabel (EEditableEntityLabel label, bool addLabel)
 Add or remove the given label.
 
int GetLabels (out notnull array< EEditableEntityLabel > labels)
 Get saved Label filters.
 
bool ContainsLabel (EEditableEntityLabel label)
 Check if provided label is on the list of saved labels.
 
void SetPageIndex (int pageIndex)
 Set saved page index.
 
int GetPageIndex ()
 Get saved page index.
 
void SetSearchString (string searchString)
 Set saved search string.
 
string GetSearchString ()
 Get saved search string.
 
bool HasSearchSaved ()
 Get has search string saved.
 

Protected Attributes

ref SCR_UIInfo m_BrowserStateUIInfo
 
- Protected Attributes inherited from SCR_EditorContentBrowserSaveStateData
ref array< EEditableEntityLabel > m_iSavedLabels
 
int m_iPageIndex = 0
 
string m_sSearchString
 

Detailed Description

Editor Content browser State data that includes UI data for tabs.

Member Function Documentation

◆ CanBeShown()

bool SCR_EditorContentBrowserSaveStateDataUI.CanBeShown ( )

To be overridden in inherited classes.

Adds a custom condition that allows to show the tab only with given conditions.

Implemented in SCR_EditorContentBrowserSaveStateDataUIHQ.

◆ GetTabInfo()

void SCR_EditorContentBrowserSaveStateDataUI.GetTabInfo ( out string  name,
out string  filterAmount,
out ResourceName  icon,
array< EEditableEntityLabel >  activeLabels = null 
)

Get tab info for displaying in editor content browser.

Parameters
[out]nameName to display
[out]filterAmountamount of filters active
[out]iconicon to display (not used)
activeLabelsList of all active labels
Returns
Saved label count

◆ GetUIInfo()

SCR_UIInfo SCR_EditorContentBrowserSaveStateDataUI.GetUIInfo ( )

Get UI Info.

Returns
Ui Info

Member Data Documentation

◆ m_BrowserStateUIInfo

ref SCR_UIInfo SCR_EditorContentBrowserSaveStateDataUI.m_BrowserStateUIInfo
protected

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