4 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.ComboBox,
desc:
"A label provider has to have to show a hint.", enums: ParamEnumArray.FromEnum(
EEditableEntityLabel))]
13 editorManager.GetOnOpened().Insert(
Activate);
14 editorManager.GetOnClosed().Insert(
Deactivate);
23 editorManager.GetOnOpened().Remove(
Activate);
24 editorManager.GetOnClosed().Remove(
Deactivate);
32 SCR_CampaignBuildingEditorComponent CampaignBuildingEditorComponent = SCR_CampaignBuildingEditorComponent.Cast(SCR_CampaignBuildingEditorComponent.GetInstance(SCR_CampaignBuildingEditorComponent));
33 if (!CampaignBuildingEditorComponent)
36 SCR_CampaignBuildingProviderComponent providerComponent = CampaignBuildingEditorComponent.GetProviderComponent();
37 if (!providerComponent)
40 array<EEditableEntityLabel> providerTraits = providerComponent.GetAvailableTraits();
41 return providerTraits.Contains(
m_eLabel);