Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_WeaponState.c
Go to the documentation of this file.
1// Class which fully describes weapon state
3{
4 BaseWeaponComponent m_Weapon;
5 BaseMuzzleComponent m_Muzzle;
6 BaseMagazineComponent m_Magazine;
7
8 SCR_2DSightsComponent m_Sights;
9 SCR_SightsZoomFOVInfo m_SightsZoomFOVInfo;
10
11 WeaponUIInfo m_WeaponUI;
12 MagazineUIInfo m_MagazineUI;
13 MuzzleUIInfo m_MuzzleUI;
14 GrenadeUIInfo m_GrenadeUI;
15
17
18 int m_iMagCount;
19 int m_iMagAmmoCount;
20 int m_iMagMaxAmmoCount;
21 float m_fMagAmmoPerc;
22 int m_iZeroing;
23 float m_fZoom;
24 bool m_bShowFiremode;
25 EWeaponFiremodeType m_FireModeType;
26 EAmmoType m_eAmmoTypeFlags;
27 bool m_bBarrelChambered;
28 bool m_bBarrelCanBeChambered;
29 bool m_bInADS;
30 bool m_bInInspectionMode;
31 bool m_bIsExplosive;
32 bool m_bHasSpecialAmmo;
33 bool m_bReloading;
34
35 void Init()
36 {
37 m_Weapon = null;
38 m_Muzzle = null;
39 m_Magazine = null;
40
41 m_Sights = null;
42 m_SightsZoomFOVInfo = null;
43
44 m_WeaponUI = null;
45 m_MagazineUI = null;
46 m_MuzzleUI = null;
47 m_GrenadeUI = null;
48
49 m_MagazineConfig = null;
50
51 m_iMagCount = 0;
52 m_iMagAmmoCount = 0;
53 m_iMagMaxAmmoCount = 1;
54 m_fMagAmmoPerc = 1;
55 m_iZeroing = 0;
56 m_fZoom = 0;
57 m_bInADS = false;
58 m_bInInspectionMode = false;
59 m_bIsExplosive = false;
60 m_bShowFiremode = false;
61 m_FireModeType = EWeaponFiremodeType.Semiauto;
62 m_eAmmoTypeFlags = EAmmoType.FMJ;
63 m_bBarrelChambered = false;
64 m_bBarrelCanBeChambered = false;
65 m_bHasSpecialAmmo = false;
66 m_bReloading = false;
67 }
68};
override void Init()
EAmmoType
EWeaponFiremodeType