MCPcopy Create free account
hub / github.com/BSVino/DoubleAction / DispatchTraceAttack

Method DispatchTraceAttack

mp/src/game/shared/baseentity_shared.cpp:2112–2123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2110}
2111
2112void CBaseEntity::DispatchTraceAttack( const CTakeDamageInfo &info, const Vector &vecDir, trace_t *ptr, CDmgAccumulator *pAccumulator )
2113{
2114#ifdef GAME_DLL
2115 // Make sure our damage filter allows the damage.
2116 if ( !PassesDamageFilter( info ))
2117 {
2118 return;
2119 }
2120#endif
2121
2122 TraceAttack( info, vecDir, ptr, pAccumulator );
2123}
2124
2125void CBaseEntity::TraceAttack( const CTakeDamageInfo &info, const Vector &vecDir, trace_t *ptr, CDmgAccumulator *pAccumulator )
2126{

Callers 15

FireBulletsMethod · 0.80
RadiusDamageMethod · 0.80
BeamDamageMethod · 0.80
BounceTouchMethod · 0.80
SimulateBulletMethod · 0.80
HitMethod · 0.80
InputImpactMethod · 0.80
HitMethod · 0.80
TraceAttackMethod · 0.80
EffectUpdateMethod · 0.80
EnumEntityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected