Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_EditableEntityCoreLabelSetting.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleEnum
(
EEditableEntityLabel
,
"m_LabelType"
)]
2
class
SCR_EditableEntityCoreLabelSetting
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
19
SCR_UIInfo
GetInfo
()
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
EEditableEntityLabel
Definition
EEditableEntityLabel.c:2
EEditableEntityLabelGroup
EEditableEntityLabelGroup
Definition
EEditableEntityLabel.c:222
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition
SCR_CampaignHintStorage.c:22
GetInfo
override SCR_UIInfo GetInfo()
Definition
SCR_EditorRespawnBriefingComponent.c:15
GetOrder
int GetOrder()
Definition
SCR_Faction.c:129
IsValid
bool IsValid()
Definition
SCR_ItemOutfitFactionComponent.c:144
SCR_EditableEntityCoreLabelSetting
Definition
SCR_EditableEntityCoreLabelSetting.c:3
SCR_EditableEntityCoreLabelSetting::m_Info
ref SCR_UIInfo m_Info
Definition
SCR_EditableEntityCoreLabelSetting.c:5
SCR_UIInfo
Definition
SCR_UIInfo.c:8
SCR_UIInfo::CreateInfo
static SCR_UIInfo CreateInfo(UIInfo source)
Definition
SCR_UIInfo.c:146
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
EEditorMode
EEditorMode
Editor mode that defines overall functionality.
Definition
EEditorMode.c:6
scripts
Game
Editor
Containers
EditableEntityCore
SCR_EditableEntityCoreLabelSetting.c
Generated by
1.17.0