Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
UIInfoAssetCard.c
Go to the documentation of this file.
1
[
BaseContainerProps
()]
2
class
UIInfoAssetCard
:
SCR_UIInfo
3
{
4
[
Attribute
(
"0.0 0.0 0.0 1.0"
, uiwidget:
UIWidgets
.ColorPicker)]
5
private
ref
Color
m_TextColor;
6
7
[
Attribute
(
params
:
"edds imageset"
)]
8
private
ResourceName
m_TitleBackground;
9
10
[
Attribute
(
params
:
"edds imageset"
)]
11
private
ResourceName
m_Image;
12
13
[
Attribute
(
"1.0 1.0 1.0 1.0"
, uiwidget:
UIWidgets
.ColorPicker)]
14
private
ref
Color
m_FactionColor;
15
16
[
Attribute
(
params
:
"edds imageset"
)]
17
private
ResourceName
m_IconBackground;
18
19
[
Attribute
()]
20
private
bool
m_bModded;
21
22
[
Attribute
(
params
:
"edds imageset"
)]
23
private
ResourceName
m_ModsetIcon;
24
25
[
Attribute
(
params
:
"edds imageset"
)]
26
private
ResourceName
m_ModsetFrame;
27
28
[
Attribute
(
params
:
"edds imageset"
)]
29
private
ResourceName
m_ModsetLabel;
30
31
[
Attribute
(
params
:
"edds imageset"
)]
32
private
ResourceName
m_CardBackground;
33
34
[
Attribute
(
"1"
,
UIWidgets
.ComboBox, enums: ParamEnumArray.FromEnum(EAssetTrait))]
35
private
ref array<EAssetTrait> m_aTraits;
36
37
//------------------------------------------------------------------------------------------------
39
Color
GetTextColor()
40
{
41
return
Color
.FromInt(m_TextColor.PackToInt());
42
}
43
44
//------------------------------------------------------------------------------------------------
46
ResourceName
GetTitleBackgroundPath()
47
{
48
return
m_TitleBackground;
49
}
50
51
//------------------------------------------------------------------------------------------------
53
ResourceName
GetImagePath()
54
{
55
return
m_Image;
56
}
57
58
//------------------------------------------------------------------------------------------------
60
Color
GetFactionColor()
61
{
62
return
Color
.FromInt(m_FactionColor.PackToInt());
63
}
64
65
//------------------------------------------------------------------------------------------------
67
ResourceName
GetIconBackgroundPath()
68
{
69
return
m_IconBackground;
70
}
71
72
//------------------------------------------------------------------------------------------------
74
bool
GetModded()
75
{
76
return
m_bModded;
77
}
78
79
//------------------------------------------------------------------------------------------------
81
ResourceName
GetModsetIcon()
82
{
83
return
m_ModsetIcon;
84
}
85
86
//------------------------------------------------------------------------------------------------
88
ResourceName
GetModsetFrame()
89
{
90
return
m_ModsetFrame;
91
}
92
93
//------------------------------------------------------------------------------------------------
95
ResourceName
GetModsetLabel()
96
{
97
return
m_ModsetLabel;
98
}
99
100
//------------------------------------------------------------------------------------------------
102
ResourceName
GetCardBackground()
103
{
104
return
m_CardBackground;
105
}
106
107
//------------------------------------------------------------------------------------------------
109
int
GetTraits(out notnull array<EAssetTrait> outTraits)
110
{
111
if
(!m_aTraits)
return
0;
112
return
outTraits.Copy(m_aTraits);
113
}
114
}
115
116
enum
EAssetTrait
117
{
118
ANTI_TANK
,
119
ANTI_AIR
,
120
MEDICAL
,
121
REFUELING
,
122
TRANSPORT
,
123
FAST
124
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
MEDICAL
@ MEDICAL
Definition
SCR_PlayerDataConfigs.c:393
params
category params
Definition
SCR_SpherePointGeneratorPreviewComponent.c:21
REFUELING
UIInfoAssetCard REFUELING
ANTI_AIR
UIInfoAssetCard ANTI_AIR
TRANSPORT
UIInfoAssetCard TRANSPORT
ANTI_TANK
UIInfoAssetCard ANTI_TANK
Color
Definition
Color.c:13
ResourceName
Definition
ResourceName.c:13
SCR_UIInfo
Definition
SCR_UIInfo.c:8
UIInfoAssetCard
Definition
UIInfoAssetCard.c:3
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Editor
Containers
UIInfo
UIInfoAssetCard.c
Generated by
1.17.0