Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
MagazineUIInfo.c
Go to the documentation of this file.
1
class
MagazineUIInfo
:
UIInfo
4
{
6
[
Attribute
(
""
, UIWidgets.EditBox,
"Magazine ammunition caliber."
,
""
)]
7
protected
string
m_sAmmoCaliber;
8
9
// Returns m_sAmmoCalibar if it's defined.
10
string
GetAmmoCaliber()
11
{
12
return
m_sAmmoCaliber;
13
}
14
15
16
18
[
Attribute
(
""
, UIWidgets.EditBox,
"Magazine type (AP, Tracer, Ball, ...). Used for Weapon Info UI."
,
""
)]
19
protected
string
m_sAmmoType;
20
21
// Returns m_sAmmoCalibar if it's defined. Otherwise returns magazine name from the inventory component.
22
string
GetAmmoType()
23
{
24
return
m_sAmmoType;
25
}
26
27
// Magazine icon behaviour in weapon UI
28
[
Attribute
(
"false"
, UIWidgets.CheckBox,
"Show ammo type extra text next to ammo type icon(s) in Weapon Info UI."
)]
29
protected
bool
m_bShowAmmoTypeText;
30
31
bool
ShowAmmoTypeText()
32
{
33
return
m_bShowAmmoTypeText;
34
}
35
37
[
Attribute
(
"1"
, UIWidgets.Flags,
"Set magazine ammo type flags."
,
""
, ParamEnumArray.FromEnum(
EAmmoType
) )]
38
EAmmoType
m_eAmmoTypeFlags;
39
40
EAmmoType
GetAmmoTypeFlags()
41
{
42
return
m_eAmmoTypeFlags;
43
}
44
45
[
Attribute
(
""
, UIWidgets.Object)]
46
ref
SCR_MagazineIndicatorConfiguration
m_MagIndicator;
47
};
UIInfo
UIInfo - declare object, allows to define UI elements.
Definition:
UIInfo.c:13
Attribute
typedef Attribute
Post-process effect of scripted camera.
MagazineUIInfo
Definition:
MagazineUIInfo.c:3
EAmmoType
EAmmoType
Definition:
SCR_WeaponInfo.c:10
SCR_MagazineIndicatorConfiguration
Definition:
SCR_MagazineIndicatorConfiguration.c:4
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
UI
MagazineUIInfo.c
Generated by
1.8.17