Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditorContentBrowserStateDataUI.c
Go to the documentation of this file.
1
4{
5 [Attribute(desc: "UI info for browser state")]
7
11 bool CanBeShown(IEntity provider, int playerId)
12 {
13 return true;
14 }
15
24
33 void GetTabInfo(out string name, out string filterAmount, out ResourceName icon, array<EEditableEntityLabel> activeLabels = null)
34 {
35 name = m_BrowserStateUIInfo.GetName();
36 icon = m_BrowserStateUIInfo.GetIconPath();
37 filterAmount = "0";
38
39 array<EEditableEntityLabel> activeLabelsToCheck = new array<EEditableEntityLabel>();
40
41 if (activeLabels)
42 activeLabelsToCheck.Copy(activeLabels);
43 else if (!m_iSavedLabels.IsEmpty())
44 activeLabelsToCheck.Copy(m_iSavedLabels);
45
46 if (activeLabelsToCheck.IsEmpty())
47 return;
48
49 filterAmount = activeLabelsToCheck.Count().ToString();
50 }
51};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
class SCR_ArsenalGameModeUIDataHolder SCR_BaseContainerCustomTitleUIInfo("m_UIInfo")
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Editor Content browser State data that includes UI data for tabs.
void GetTabInfo(out string name, out string filterAmount, out ResourceName icon, array< EEditableEntityLabel > activeLabels=null)
SCR_FieldOfViewSettings Attribute