CWeaponFuncs

Weapon functions class.

Type: Reference type

Methods

Declaration Description
void ClearMultiDamage() Clears the multi damage data.
void ApplyMultiDamage(entvars_t@ pevInflictor, entvars_t@ pevAttacker) Applies multi damage.
void AddMultiDamage(entvars_t@ pevInflictor, CBaseEntity@ pEntity, float flDamage, int bitsDamageType) Add multi damage.
float WeaponTimeBase() Gets the weapon time base.
void DecalGunshot(TraceResult& in trace, int iBulletType) Creates a gunshot decal at the trace hit point.
void SpawnBlood(const Vector& in vecSpot, int bloodColor, float flDamage) Spawns blood at the given location.
int DamageDecal(CBaseEntity@ pEntity, int bitsDamageType) Creates a damage decal on the given entity.
void RadiusDamage(const Vector& in vecSrc, entvars_t@ pevInflictor, entvars_t@ pevAttacker, float flDamage, float flRadius, int iClassIgnore, int bitsDamageType) Deals radius damage.