6 [
Attribute(
"false", UIWidgets.CheckBox,
"Show caliber indicator in weapon UI.")]
7 protected bool m_bShowCaliber;
11 return m_bShowCaliber;
15 [
Attribute(
"",
"auto",
"Caliber identification, e.g. 7.62×39mm")]
16 protected string m_sCaliber;
24 [
Attribute(
"true", UIWidgets.CheckBox,
"Show firemode indicator.")]
25 protected bool m_bShowFiremode;
27 bool ShowFiremodeIcon()
29 return m_bShowFiremode;
34 [
Attribute(
"{3BB05C675B05A74B}UI/Textures/WeaponInfo/icons_weaponInfo.imageset", UIWidgets.ResourceNamePicker,
"Imageset with most of weapon info textures",
"imageset")]
35 protected ResourceName m_sFiremodeIconImageset;
37 ResourceName GetFiremodeIconImageset()
39 return m_sFiremodeIconImageset;
43 [
Attribute(
"{4E003F94B2A00561}UI/Textures/WeaponInfo/icons_weaponInfo-glow.imageset", UIWidgets.ResourceNamePicker,
"Imageset with most of weapon info textures",
"imageset")]
44 protected ResourceName m_sFiremodeGlowImageset;
46 ResourceName GetFiremodeGlowImageset()
48 return m_sFiremodeGlowImageset;
52 [
Attribute(
"firemode-rifle-single",
"auto",
"Firemode indicator - single shot")]
53 protected string m_sFiremodeSingle;
56 [
Attribute(
"firemode-rifle-burst3",
"auto",
"Firemode indicator - burst")]
57 protected string m_sFiremodeBurst;
60 [
Attribute(
"firemode-rifle-auto",
"auto",
"Firemode indicator - full auto")]
61 protected string m_sFiremodeAuto;
64 [
Attribute(
"firemode-safety",
"auto",
"Firemode indicator - safety",
"edds")]
65 protected string m_sFiremodeSafety;
74 icon = m_sFiremodeSingle;
78 icon = m_sFiremodeBurst;
82 icon = m_sFiremodeAuto;
86 icon = m_sFiremodeSafety;
90 icon = m_sFiremodeSingle;