Arma Reforger Script API
|
Editor Content browser State data that includes UI data for tabs. More...
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 |
Editor Content browser State data that includes UI data for tabs.
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.
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.
[out] | name | Name to display |
[out] | filterAmount | amount of filters active |
[out] | icon | icon to display (not used) |
activeLabels | List of all active labels |
SCR_UIInfo SCR_EditorContentBrowserSaveStateDataUI.GetUIInfo | ( | ) |
Get UI Info.
|
protected |