Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditableEntityCoreLabelSetting.c
Go to the documentation of this file.
3{
4 [Attribute()]
5 protected ref SCR_UIInfo m_Info;
6
7 [Attribute("0")]
8 private int m_Order;
9
10 [Attribute("0", UIWidgets.SearchComboBox, "", enums: ParamEnumArray.FromEnum(EEditableEntityLabel))]
11 private EEditableEntityLabel m_LabelType;
12
13 [Attribute("0", UIWidgets.SearchComboBox, "", enums: ParamEnumArray.FromEnum(EEditableEntityLabelGroup))]
14 private EEditableEntityLabelGroup m_LabelGroupType;
15
16 [Attribute("1")]
17 private bool m_bFilterEnabled;
18
20 {
21 //~ Safty as later system want a UIInfo
22 if (!m_Info)
23 return SCR_UIInfo.CreateInfo(typename.EnumToString(EEditableEntityLabel, m_LabelType));
24
25 return m_Info;
26 }
27
28 int GetOrder()
29 {
30 return m_Order;
31 }
32
33 EEditableEntityLabel GetLabelType()
34 {
35 return m_LabelType;
36 }
37 EEditableEntityLabelGroup GetLabelGroupType()
38 {
39 return m_LabelGroupType;
40 }
41
42 bool GetFilterEnabled()
43 {
44 return m_bFilterEnabled;
45 }
46
47 //------------------------------------------------------------------------------------------------
53 bool IsValid(EEditorMode currentMode)
54 {
55 return true;
56 }
57
58 //------------------------------------------------------------------------------------------------
59 void InitalizeGrouplessLabel(EEditableEntityLabel labelType)
60 {
61 m_LabelType = labelType;
62 m_LabelGroupType = EEditableEntityLabelGroup.GROUPLESS;
63 m_bFilterEnabled = false;
64 }
65
66 //------------------------------------------------------------------------------------------------
67 static SCR_EditableEntityCoreLabelSetting CreateGrouplessLabel(EEditableEntityLabel labelType)
68 {
69 SCR_EditableEntityCoreLabelSetting newLabelSetting = new SCR_EditableEntityCoreLabelSetting();
70 newLabelSetting.InitalizeGrouplessLabel(labelType);
71 return newLabelSetting;
72 }
73};
EEditableEntityLabel
EEditableEntityLabelGroup
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
override SCR_UIInfo GetInfo()
int GetOrder()
static SCR_UIInfo CreateInfo(UIInfo source)
Definition SCR_UIInfo.c:146
SCR_FieldOfViewSettings Attribute
EEditorMode
Editor mode that defines overall functionality.
Definition EEditorMode.c:6