Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
MagazineUIInfo.c
Go to the documentation of this file.
1
4{
6 [Attribute("", UIWidgets.EditBox, "Magazine ammunition caliber.", "")]
7 protected string m_sAmmoCaliber;
8
9 // Returns m_sAmmoCalibar if it's defined.
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
32 {
34 }
35
37 [Attribute("1", UIWidgets.Flags, "Set magazine ammo type flags.", "", ParamEnumArray.FromEnum(EAmmoType) )]
39
44
45 [Attribute("", UIWidgets.Object)]
47};
EAmmoType
string GetAmmoCaliber()
string m_sAmmoCaliber
Magazine background icon, created for WeaponInfo HUD element.
string m_sAmmoType
Magazine type string (AP, tracer, ball), as if it was written on this magazine. Used for Weapon Info ...
EAmmoType m_eAmmoTypeFlags
Magazine ammo type flags, used for displaying ammo type icons on weapon UI.
EAmmoType GetAmmoTypeFlags()
bool ShowAmmoTypeText()
string GetAmmoType()
ref SCR_MagazineIndicatorConfiguration m_MagIndicator
UIInfo - allows to define UI elements.
Definition UIInfo.c:14
SCR_FieldOfViewSettings Attribute