Editor Content browser State data (Eg: Saved active filters, Search string and pagination) as well as tab UI info of content browser states.
More...
|
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.
|
|
Editor Content browser State data (Eg: Saved active filters, Search string and pagination) as well as tab UI info of content browser states.
This is used for persistence states between games. Saving it in Editor Settings
◆ AddRemoveLabel()
void SCR_EditorContentBrowserSaveStateData.AddRemoveLabel |
( |
EEditableEntityLabel |
label, |
|
|
bool |
addLabel |
|
) |
| |
Add or remove the given label.
- Parameters
-
label | Label to add or remove |
addLabel | If true will add the label. Else will remove |
◆ ContainsLabel()
bool SCR_EditorContentBrowserSaveStateData.ContainsLabel |
( |
EEditableEntityLabel |
label | ) |
|
Check if provided label is on the list of saved labels.
- Returns
- true if given label is on the list
◆ GetLabels()
int SCR_EditorContentBrowserSaveStateData.GetLabels |
( |
out notnull array< EEditableEntityLabel > |
labels | ) |
|
Get saved Label filters.
- Parameters
-
- Returns
- Saved label count
◆ GetPageIndex()
int SCR_EditorContentBrowserSaveStateData.GetPageIndex |
( |
| ) |
|
Get saved page index.
- Returns
- Saved page index
◆ GetSavedLabelCount()
int SCR_EditorContentBrowserSaveStateData.GetSavedLabelCount |
( |
| ) |
|
Get saved Label filters count.
- Returns
- Saved label count
◆ GetSearchString()
string SCR_EditorContentBrowserSaveStateData.GetSearchString |
( |
| ) |
|
Get saved search string.
- Returns
- Saved search string
◆ HasSearchSaved()
bool SCR_EditorContentBrowserSaveStateData.HasSearchSaved |
( |
| ) |
|
Get has search string saved.
- Returns
- True if search string is saved
◆ SetLabels()
void SCR_EditorContentBrowserSaveStateData.SetLabels |
( |
notnull array< EEditableEntityLabel > |
savedLabels, |
|
|
bool |
checkForInvalid = false |
|
) |
| |
Set saved Label filters.
- Parameters
-
savedLabels | labels to save |
If | true will check if saved label is still valid |
◆ SetPageIndex()
void SCR_EditorContentBrowserSaveStateData.SetPageIndex |
( |
int |
pageIndex | ) |
|
Set saved page index.
- Parameters
-
pageIndex | Page index to save |
◆ SetSearchString()
void SCR_EditorContentBrowserSaveStateData.SetSearchString |
( |
string |
searchString | ) |
|
Set saved search string.
- Parameters
-
searchString | Search string to save |
◆ m_iPageIndex
int SCR_EditorContentBrowserSaveStateData.m_iPageIndex = 0 |
|
protected |
◆ m_iSavedLabels
ref array<EEditableEntityLabel> SCR_EditorContentBrowserSaveStateData.m_iSavedLabels |
|
protected |
◆ m_sSearchString
string SCR_EditorContentBrowserSaveStateData.m_sSearchString |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Editor/Containers/Root/SCR_EditorContentBrowserStateData.c