Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
MagazineUIInfo.c
Go to the documentation of this file.
1
3
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
};
EAmmoType
EAmmoType
Definition
SCR_WeaponInfo.c:11
MagazineUIInfo
Definition
MagazineUIInfo.c:4
MagazineUIInfo::GetAmmoCaliber
string GetAmmoCaliber()
Definition
MagazineUIInfo.c:10
MagazineUIInfo::m_sAmmoCaliber
string m_sAmmoCaliber
Magazine background icon, created for WeaponInfo HUD element.
Definition
MagazineUIInfo.c:7
MagazineUIInfo::m_sAmmoType
string m_sAmmoType
Magazine type string (AP, tracer, ball), as if it was written on this magazine. Used for Weapon Info ...
Definition
MagazineUIInfo.c:19
MagazineUIInfo::m_eAmmoTypeFlags
EAmmoType m_eAmmoTypeFlags
Magazine ammo type flags, used for displaying ammo type icons on weapon UI.
Definition
MagazineUIInfo.c:38
MagazineUIInfo::m_bShowAmmoTypeText
bool m_bShowAmmoTypeText
Definition
MagazineUIInfo.c:29
MagazineUIInfo::GetAmmoTypeFlags
EAmmoType GetAmmoTypeFlags()
Definition
MagazineUIInfo.c:40
MagazineUIInfo::ShowAmmoTypeText
bool ShowAmmoTypeText()
Definition
MagazineUIInfo.c:31
MagazineUIInfo::GetAmmoType
string GetAmmoType()
Definition
MagazineUIInfo.c:22
MagazineUIInfo::m_MagIndicator
ref SCR_MagazineIndicatorConfiguration m_MagIndicator
Definition
MagazineUIInfo.c:46
SCR_MagazineIndicatorConfiguration
Definition
SCR_MagazineIndicatorConfiguration.c:5
UIInfo
UIInfo - allows to define UI elements.
Definition
UIInfo.c:14
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
UI
MagazineUIInfo.c
Generated by
1.17.0