Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
WeaponUIInfo.c
Go to the documentation of this file.
1
4{
5 // Show weapon name indicator in weapon UI
6 [Attribute("false", UIWidgets.CheckBox, "Show weapon name indicator in weapon UI.")]
7 protected bool m_bShowWeaponName;
8
10 {
11 return m_bShowWeaponName;
12 }
13
14 [Attribute("", UIWidgets.Object)]
16};
17
19{
21 [Attribute("", UIWidgets.EditBox, "Magazine type (AP, Tracer, Ball, ...). Used for Weapon Info UI.", "")]
22 protected string m_sAmmoType;
23
24 // Returns m_sAmmoCalibar if it's defined. Otherwise returns magazine name from the inventory component.
25 string GetAmmoType()
26 {
27 return m_sAmmoType;
28 }
29
30 // Magazine icon behaviour in weapon UI
31 [Attribute("false", UIWidgets.CheckBox, "Show ammo type extra text next to ammo type icon(s) in Weapon Info UI.")]
32 protected bool m_bShowAmmoTypeText;
33
35 {
37 }
38
40 [Attribute("1", UIWidgets.Flags, "Set magazine ammo type flags.", "", ParamEnumArray.FromEnum(EAmmoType) )]
42
47};
EAmmoType
bool m_bShowAmmoTypeText
EAmmoType GetAmmoTypeFlags()
EAmmoType m_eAmmoTypeFlags
Magazine ammo type flags, used for displaying ammo type icons on weapon UI.
bool ShowAmmoTypeText()
string m_sAmmoType
Magazine type string (AP, tracer, ball), as if it was written on this magazine. Used for Weapon Info ...
string GetAmmoType()
UIInfo - allows to define UI elements.
Definition UIInfo.c:14
ref SCR_MagazineIndicatorConfiguration m_MagIndicator
bool m_bShowWeaponName
Definition WeaponUIInfo.c:7
bool ShowWeaponName()
Definition WeaponUIInfo.c:9
SCR_FieldOfViewSettings Attribute