DIFF

class WeaponManagerSource

Constructors 1

Constants 2

protected const int FORCE_EJECT_BULLET_TIMEOUT = 2000

Members 27

protected int m_LastAcknowledgmentID
Referenced by Synchronize(), and WeaponManager()
protected int m_PendingWeaponActionAcknowledgmentID
protected ref InventoryLocation m_TargetInventoryLocation
protected int m_PendingWeaponAction
protected bool m_canEnd
protected bool m_justStart
Referenced by Update()
protected bool m_IsEventSended
protected bool m_WantContinue
protected bool m_InIronSight
Referenced by Update()
protected bool m_InOptic
Referenced by Update()
protected bool m_readyToStart
Referenced by OnSyncJuncture(), OnWeaponActionEnd(), StartAction()
Show 2 more, Update(), and WeaponManager()
protected MagazineStorage m_MagazineInHand
protected ActionBase m_ControlAction
protected int m_ForceEjectBulletTimestamp
protected int m_BurstOptionDIAG_DEVELOPER
protected ref array<Magazine> m_MagazinePilesInInventory
protected ref array<MagazineStorage> m_MagazineStorageInInventory
protected ref array<Magazine> m_SuitableMagazines
protected Magazine m_PreparedMagazine
protected float m_NewJamChance
protected bool m_WaitToSyncJamChance
Referenced by Update(), and WeaponManager()
protected int m_AnimationRefreshCooldown

Methods 50

void SetEjectBulletTryTimestamp()
bool SwapMagazineEx(Magazine mag, InventoryLocation invLoc, ActionBase control_action = NULL)
References StartAction()
bool Unjam(ActionBase control_action = NULL)
References StartAction()
bool EjectBullet(ActionBase control_action = NULL)
References StartAction()
bool SetNextMuzzleMode()
References StartAction()
void SetBurstOption(int value)DIAG_DEVELOPER
References m_BurstOption
void SetRunning(bool value)
References m_InProgress
void Refresh()
void OnMagazineAttach(Magazine mag)
void OnMagazineDetach(Magazine mag)
int CompareMagazinesSuitability(Magazine mag1, Magazine mag2)