IFireMode

C++
struct IFireMode {
};
File

IWeapon.h

IFireMode::~IFireMode Destructor
C++
virtual ~IFireMode();
IFireMode::Activate Method
C++
virtual void Activate(bool activate) = 0;
IFireMode::AllowZoom Method
C++
virtual bool AllowZoom() const = 0;
IFireMode::ApplyAutoAim Method
C++
virtual void ApplyAutoAim(Vec3 & rDir, const Vec3 & pos) const = 0;
IFireMode::ApplySpread Method
C++
virtual Vec3 ApplySpread(const Vec3 & dir, float spread, int quadrant = -1) const = 0;
IFireMode::CanCancelReload Method
C++
virtual bool CanCancelReload() = 0;
IFireMode::Cancel Method
C++
virtual void Cancel() = 0;
IFireMode::CancelReload Method
C++
virtual void CancelReload() = 0;
IFireMode::CanFire Method
C++
virtual bool CanFire(bool considerAmmo = true) const = 0;
IFireMode::CanOverheat Method
C++
virtual bool CanOverheat() const = 0;
IFireMode::CanReload Method
C++
virtual bool CanReload() const = 0;
IFireMode::Enable Method
C++
virtual void Enable(bool enable) = 0;
IFireMode::GetAmmoCount Method
C++
virtual int GetAmmoCount() const = 0;
IFireMode::GetAmmoType Method
C++
virtual IEntityClass* GetAmmoType() const = 0;
IFireMode::GetClipSize Method
C++
virtual int GetClipSize() const = 0;
IFireMode::GetCrosshair Method
C++
virtual const char * GetCrosshair() const;
IFireMode::GetCurrentBarrel Method
C++
virtual int GetCurrentBarrel() const = 0;
IFireMode::GetDamage Method
C++
virtual int GetDamage() const = 0;
IFireMode::GetFireHelperDir Method
C++
virtual Vec3 GetFireHelperDir() const = 0;
IFireMode::GetFireHelperPos Method
C++
virtual Vec3 GetFireHelperPos() const = 0;
IFireMode::GetFireRate Method
C++
virtual float GetFireRate() const = 0;
IFireMode::GetFiringDir Method
C++
virtual Vec3 GetFiringDir(const Vec3 & probableHit, const Vec3& firingPos) const = 0;
IFireMode::GetFiringPos Method
C++
virtual Vec3 GetFiringPos(const Vec3 & probableHit) const = 0;
IFireMode::GetHeat Method
C++
virtual float GetHeat() const = 0;
IFireMode::GetMaxSpread Method
C++
virtual float GetMaxSpread() const = 0;
IFireMode::GetMemoryUsage Method
C++
virtual void GetMemoryUsage(ICrySizer * s) const = 0;
IFireMode::GetMinSpread Method
C++
virtual float GetMinSpread() const = 0;
IFireMode::GetName Method
C++
virtual const char* GetName() const = 0;
IFireMode::GetNextShotTime Method
C++
virtual float GetNextShotTime() const = 0;
IFireMode::GetProjectileId Method
C++
virtual EntityId GetProjectileId() const = 0;
IFireMode::GetRecoil Method
C++
virtual float GetRecoil() const = 0;
Description

virtual void FinishReload() = 0;

IFireMode::GetSpinUpTime Method
C++
virtual float GetSpinUpTime() const = 0;
IFireMode::GetSpread Method
C++
virtual float GetSpread() const = 0;
IFireMode::GetSpreadForHUD Method
C++
virtual float GetSpreadForHUD() const = 0;
IFireMode::HasFireHelper Method
C++
virtual bool HasFireHelper() const = 0;
IFireMode::IsEnabled Method
C++
virtual bool IsEnabled() const = 0;
IFireMode::IsFiring Method
C++
virtual bool IsFiring() const = 0;
IFireMode::IsReloading Method
C++
virtual bool IsReloading(bool includePending = true) = 0;
IFireMode::IsSilenced Method
C++
virtual bool IsSilenced() const = 0;
IFireMode::LowAmmo Method
C++
virtual bool LowAmmo(float thresholdPerCent) const = 0;
IFireMode::NetEndReload Method
C++
virtual void NetEndReload() = 0;
IFireMode::NetShoot Method
C++
virtual void NetShoot(const Vec3 & hit, int predictionHandle) = 0;
IFireMode::NetShootEx Method
C++
virtual void NetShootEx(const Vec3 & pos, const Vec3 & dir, const Vec3 & vel, const Vec3 & hit, float extra, int predictionHandle) = 0;
IFireMode::NetStartFire Method
C++
virtual void NetStartFire() = 0;
IFireMode::NetStopFire Method
C++
virtual void NetStopFire() = 0;
IFireMode::OnZoomStateChanged Method
C++
virtual void OnZoomStateChanged() = 0;
IFireMode::OutOfAmmo Method
C++
virtual bool OutOfAmmo() const = 0;
IFireMode::PatchRecoilMod Method
C++
virtual void PatchRecoilMod(const SRecoilModParams & sRMP, float modMultiplier) = 0;
IFireMode::PatchSpreadMod Method
C++
virtual void PatchSpreadMod(const SSpreadModParams & sSMP, float modMultiplier) = 0;
IFireMode::PostInit Method
C++
virtual void PostInit() = 0;
IFireMode::PostSerialize Method
C++
virtual void PostSerialize() = 0;
IFireMode::PostUpdate Method
C++
virtual void PostUpdate(float frameTime) = 0;
IFireMode::Release Method
C++
virtual void Release() = 0;
IFireMode::Reload Method
C++
virtual void Reload(int zoomed) = 0;
IFireMode::RemoveProjectileId Method
C++
virtual EntityId RemoveProjectileId() = 0;
IFireMode::ReplayShoot Method
C++
virtual void ReplayShoot();
IFireMode::ResetRecoilMod Method
C++
virtual void ResetRecoilMod() = 0;
IFireMode::ResetSpreadMod Method
C++
virtual void ResetSpreadMod() = 0;
IFireMode::Serialize Method
C++
virtual void Serialize(TSerialize ser) = 0;
IFireMode::SetName Method
C++
virtual void SetName(const char * name) = 0;
IFireMode::SetNextShotTime Method
C++
virtual void SetNextShotTime(float time) = 0;
IFireMode::SetProjectileId Method
C++
virtual void SetProjectileId(EntityId id) = 0;
IFireMode::SetProjectileLaunchParams Method
C++
virtual void SetProjectileLaunchParams(const SProjectileLaunchParams & launchParams);
IFireMode::StartFire Method
C++
virtual void StartFire() = 0;
IFireMode::StopFire Method
C++
virtual void StopFire() = 0;
IFireMode::Update Method
C++
virtual void Update(float frameTime, uint32 frameId) = 0;
IFireMode::UpdateFPView Method
C++
virtual void UpdateFPView(float frameTime) = 0;