|
Arma Reforger Script API
|
Config that allows the editor content browser to only show specific labels and groups. More...
Public Member Functions | |
| LocalizedString | GetHeader () |
| Get the header to set in the content browser. | |
| bool | CanShowLabelGroup (EEditableEntityLabelGroup groupLabel) |
| Returns if given label group can be showin in content browser. | |
| bool | CanShowLabel (EEditableEntityLabel label) |
| Returns if given label can be showin in content browser. | |
| void | GetAlwaysActiveLabels (out notnull array< EEditableEntityLabel > alwaysActiveLabels) |
| Get list of labels that are always active in content browser. | |
| void | GetWhiteListeLabels (out notnull array< EEditableEntityLabel > whitelistLabels) |
| Get list of labels that are always active in content browser. | |
| void | GetWhiteListeLabelGroups (out notnull array< EEditableEntityLabelGroup > whitelistLabelGroups) |
| Get list of labels that are always active in content browser. | |
| bool | IsAlwaysActiveLabel (EEditableEntityLabel label) |
| Check if given label is always active. | |
| bool | CanShowLabelInActiveFilters (EEditableEntityLabel label) |
| Check if given label can be shown as active filters. | |
| bool | GetSaveContentBrowserState () |
| Check if content browser can save the state on close if using the config. | |
| void | SCR_EditorContentBrowserDisplayConfig (array< EEditableEntityLabelGroup > whiteListGroupLabels=null, array< EEditableEntityLabel > whiteListLabels=null, array< EEditableEntityLabel > alwaysActiveLabels=null, bool saveContentBrowserState=false, LocalizedString browserHeader=string.Empty) |
| Create new Display config. | |
Protected Attributes | |
| LocalizedString | m_sContentBrowserHeader |
| ref array< ref SCR_EditorContentBrowserDisplayGroupLabel > | m_aWhiteListLabelGroups |
| ref array< ref SCR_EditorContentBrowserActiveDisplayLabel > | m_aAlwaysActiveLabels |
| ref array< ref SCR_EditorContentBrowserDisplayLabel > | m_aWhiteListLabels |
| bool | m_bSaveContentBrowserState |
Config that allows the editor content browser to only show specific labels and groups.
| void SCR_EditorContentBrowserDisplayConfig.SCR_EditorContentBrowserDisplayConfig | ( | array< EEditableEntityLabelGroup > | whiteListGroupLabels = null, |
| array< EEditableEntityLabel > | whiteListLabels = null, | ||
| array< EEditableEntityLabel > | alwaysActiveLabels = null, | ||
| bool | saveContentBrowserState = false, | ||
| LocalizedString | browserHeader = string::Empty ) |
Create new Display config.
| whiteListGroupLabels | List of white list label groups |
| whiteListLabels | List of white list label |
| alwaysActiveLabels | List of labels that should always be active if opening content browser with this config |
| saveContentBrowserState | If this config allows for saving of the Content Browser state. If this config is temporarly created then keep it false |
| bool SCR_EditorContentBrowserDisplayConfig.CanShowLabel | ( | EEditableEntityLabel | label | ) |
Returns if given label can be showin in content browser.
| label | to check |
| bool SCR_EditorContentBrowserDisplayConfig.CanShowLabelGroup | ( | EEditableEntityLabelGroup | groupLabel | ) |
Returns if given label group can be showin in content browser.
| Group | label to check |
| bool SCR_EditorContentBrowserDisplayConfig.CanShowLabelInActiveFilters | ( | EEditableEntityLabel | label | ) |
Check if given label can be shown as active filters.
| label | to check |
| void SCR_EditorContentBrowserDisplayConfig.GetAlwaysActiveLabels | ( | out notnull array< EEditableEntityLabel > | alwaysActiveLabels | ) |
Get list of labels that are always active in content browser.
| [out] | alwaysActiveLabels | list of always active labels |
| LocalizedString SCR_EditorContentBrowserDisplayConfig.GetHeader | ( | ) |
Get the header to set in the content browser.
| bool SCR_EditorContentBrowserDisplayConfig.GetSaveContentBrowserState | ( | ) |
Check if content browser can save the state on close if using the config.
| void SCR_EditorContentBrowserDisplayConfig.GetWhiteListeLabelGroups | ( | out notnull array< EEditableEntityLabelGroup > | whitelistLabelGroups | ) |
Get list of labels that are always active in content browser.
| [out] | alwaysActiveLabels | list of always active labels |
| void SCR_EditorContentBrowserDisplayConfig.GetWhiteListeLabels | ( | out notnull array< EEditableEntityLabel > | whitelistLabels | ) |
Get list of labels that are always active in content browser.
| [out] | alwaysActiveLabels | list of always active labels |
| bool SCR_EditorContentBrowserDisplayConfig.IsAlwaysActiveLabel | ( | EEditableEntityLabel | label | ) |
Check if given label is always active.
| label | to check |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |