Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditorContentBrowserDisplayConfig Class Reference

Protected Member Functions

LocalizedString GetHeader ()
bool CanShowLabelGroup (EEditableEntityLabelGroup groupLabel)
bool CanShowLabel (EEditableEntityLabel label)
void GetAlwaysActiveLabels (out notnull array< EEditableEntityLabel > alwaysActiveLabels)
void GetWhiteListeLabels (out notnull array< EEditableEntityLabel > whitelistLabels)
void GetWhiteListeLabelGroups (out notnull array< EEditableEntityLabelGroup > whitelistLabelGroups)
bool IsAlwaysActiveLabel (EEditableEntityLabel label)
bool CanShowLabelInActiveFilters (EEditableEntityLabel label)
bool GetSaveContentBrowserState ()
void SCR_EditorContentBrowserDisplayConfig (array< EEditableEntityLabelGroup > whiteListGroupLabels=null, array< EEditableEntityLabel > whiteListLabels=null, array< EEditableEntityLabel > alwaysActiveLabels=null, bool saveContentBrowserState=false, LocalizedString browserHeader=string.Empty)

Protected Attributes

LocalizedString m_sContentBrowserHeader
ref array< ref SCR_EditorContentBrowserDisplayGroupLabelm_aWhiteListLabelGroups
ref array< ref SCR_EditorContentBrowserActiveDisplayLabelm_aAlwaysActiveLabels
ref array< ref SCR_EditorContentBrowserDisplayLabelm_aWhiteListLabels
bool m_bSaveContentBrowserState

Detailed Description

Config that allows the editor content browser to only show specific labels and groups

Definition at line 5 of file SCR_EditorContentBrowserDisplayConfig.c.

Constructor & Destructor Documentation

◆ SCR_EditorContentBrowserDisplayConfig()

void SCR_EditorContentBrowserDisplayConfig::SCR_EditorContentBrowserDisplayConfig ( array< EEditableEntityLabelGroup > whiteListGroupLabels = null,
array< EEditableEntityLabel > whiteListLabels = null,
array< EEditableEntityLabel > alwaysActiveLabels = null,
bool saveContentBrowserState = false,
LocalizedString browserHeader = string.Empty )
inlineprotected

Create new Display config

Parameters
whiteListGroupLabelsList of white list label groups
whiteListLabelsList of white list label
alwaysActiveLabelsList of labels that should always be active if opening content browser with this config
saveContentBrowserStateIf this config allows for saving of the Content Browser state. If this config is temporarly created then keep it false
Returns
self (Created config)

Definition at line 214 of file SCR_EditorContentBrowserDisplayConfig.c.

Member Function Documentation

◆ CanShowLabel()

bool SCR_EditorContentBrowserDisplayConfig::CanShowLabel ( EEditableEntityLabel label)
inlineprotected

Returns if given label can be showin in content browser

Parameters
labelto check
Returns
false if it cannot be displayed

Definition at line 69 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ CanShowLabelGroup()

bool SCR_EditorContentBrowserDisplayConfig::CanShowLabelGroup ( EEditableEntityLabelGroup groupLabel)
inlineprotected

Returns if given label group can be showin in content browser

Parameters
Grouplabel to check
Returns
false if it cannot be displayed

Definition at line 36 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ CanShowLabelInActiveFilters()

bool SCR_EditorContentBrowserDisplayConfig::CanShowLabelInActiveFilters ( EEditableEntityLabel label)
inlineprotected

Check if given label can be shown as active filters

Parameters
labelto check
Returns
false if given label is an always active label

Definition at line 175 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ GetAlwaysActiveLabels()

void SCR_EditorContentBrowserDisplayConfig::GetAlwaysActiveLabels ( out notnull array< EEditableEntityLabel > alwaysActiveLabels)
inlineprotected

Get list of labels that are always active in content browser

Parameters
[out]alwaysActiveLabelslist of always active labels

Definition at line 115 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ GetHeader()

LocalizedString SCR_EditorContentBrowserDisplayConfig::GetHeader ( )
inlineprotected

Get the header to set in the content browser

Returns
Header string

Definition at line 26 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ GetSaveContentBrowserState()

bool SCR_EditorContentBrowserDisplayConfig::GetSaveContentBrowserState ( )
inlineprotected

Check if content browser can save the state on close if using the config

Returns
true if it allows it

Definition at line 201 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ GetWhiteListeLabelGroups()

void SCR_EditorContentBrowserDisplayConfig::GetWhiteListeLabelGroups ( out notnull array< EEditableEntityLabelGroup > whitelistLabelGroups)
inlineprotected

Get list of labels that are always active in content browser

Parameters
[out]alwaysActiveLabelslist of always active labels

Definition at line 135 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ GetWhiteListeLabels()

void SCR_EditorContentBrowserDisplayConfig::GetWhiteListeLabels ( out notnull array< EEditableEntityLabel > whitelistLabels)
inlineprotected

Get list of labels that are always active in content browser

Parameters
[out]alwaysActiveLabelslist of always active labels

Definition at line 125 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ IsAlwaysActiveLabel()

bool SCR_EditorContentBrowserDisplayConfig::IsAlwaysActiveLabel ( EEditableEntityLabel label)
inlineprotected

Check if given label is always active

Parameters
labelto check
Returns
true if label is always active (And can be shown if checked

Definition at line 146 of file SCR_EditorContentBrowserDisplayConfig.c.

Member Data Documentation

◆ m_aAlwaysActiveLabels

ref array<ref SCR_EditorContentBrowserActiveDisplayLabel> SCR_EditorContentBrowserDisplayConfig::m_aAlwaysActiveLabels
protected

Definition at line 14 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ m_aWhiteListLabelGroups

ref array<ref SCR_EditorContentBrowserDisplayGroupLabel> SCR_EditorContentBrowserDisplayConfig::m_aWhiteListLabelGroups
protected

Definition at line 11 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ m_aWhiteListLabels

ref array<ref SCR_EditorContentBrowserDisplayLabel> SCR_EditorContentBrowserDisplayConfig::m_aWhiteListLabels
protected

Definition at line 17 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ m_bSaveContentBrowserState

bool SCR_EditorContentBrowserDisplayConfig::m_bSaveContentBrowserState
protected

Definition at line 20 of file SCR_EditorContentBrowserDisplayConfig.c.

◆ m_sContentBrowserHeader

LocalizedString SCR_EditorContentBrowserDisplayConfig::m_sContentBrowserHeader
protected

Definition at line 8 of file SCR_EditorContentBrowserDisplayConfig.c.


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