Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_WeaponState.c
Go to the documentation of this file.
1
// Class which fully describes weapon state
2
class
SCR_WeaponState
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
16
SCR_MagazineIndicatorConfiguration
m_MagazineConfig;
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
};
SCR_WeaponState
Definition:
SCR_WeaponState.c:2
m_Weapon
IEntity m_Weapon
Definition:
SCR_MeleeComponent.c:9
m_bInADS
protected bool m_bInADS
Definition:
SCR_InfoDisplayExtended.c:34
EWeaponFiremodeType
EWeaponFiremodeType
Definition:
EWeaponFiremodeType.c:12
MuzzleUIInfo
Definition:
MuzzleUIInfo.c:3
SCR_SightsZoomFOVInfo
Definition:
SCR_SightsZoomFOVInfo.c:6
BaseWeaponComponent
Definition:
BaseWeaponComponent.c:12
MagazineUIInfo
Definition:
MagazineUIInfo.c:3
WeaponUIInfo
Definition:
WeaponUIInfo.c:3
EAmmoType
EAmmoType
Definition:
SCR_WeaponInfo.c:10
BaseMuzzleComponent
Definition:
BaseMuzzleComponent.c:12
SCR_MagazineIndicatorConfiguration
Definition:
SCR_MagazineIndicatorConfiguration.c:4
GrenadeUIInfo
Definition:
WeaponUIInfo.c:18
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
UI
HUD
WeaponInfo
SCR_WeaponState.c
Generated by
1.8.17