Loading...
Searching...
No Matches
SCR_ExplosionAmmoEffect Interface Reference
Inheritance diagram for SCR_ExplosionAmmoEffect:
BaseProjectileEffect

Public Member Functions

override void OnEffect (IEntity pHitEntity, inout vector outMat[3], IEntity damageSource, notnull Instigator instigator, string colliderName, float speed)
 Called when the effect is being applied.
 
- Public Member Functions inherited from BaseProjectileEffect
proto external bool HasFinished ()
 Ask if the effect has finished or not.
 
proto external void SetHasFinished (bool value)
 Set if the effect is finished or not.
 
proto external bool IsEnabled ()
 Ask if the effect is enabled or not.
 
proto external void SetIsEnabled (bool value)
 Set if the effect is finished or not.
 
void OnInit (IEntity owner)
 Called during EOnInit.
 
void OnFrame (IEntity owner, float timeSlice)
 Called during EOnFrame.
 
bool ShouldTick ()
 OnFrame function should be called.
 

Static Public Member Functions

static OnExplosionAmmoEffectInvoker GetOnExplosionAmmoEffect ()
 Get event called when the effect is being applied for explosion ammo.
 

Static Protected Attributes

static ref OnExplosionAmmoEffectInvoker s_OnExplosionAmmoEffect
 

Member Function Documentation

◆ GetOnExplosionAmmoEffect()

static OnExplosionAmmoEffectInvoker SCR_ExplosionAmmoEffect.GetOnExplosionAmmoEffect ( )
static

Get event called when the effect is being applied for explosion ammo.

Returns
OnExplosionAmmoEffectInvoker

◆ OnEffect()

override void SCR_ExplosionAmmoEffect.OnEffect ( IEntity pHitEntity,
inout vector outMat[3],
IEntity damageSource,
notnull Instigator instigator,
string colliderName,
float speed )

Called when the effect is being applied.

Parameters
pHitEntityDamaged entity
outMatHit position/direction/normal
damageSourceProjectile
InstigatorInstigator of the damage
colliderNameCollider name if exist otherwise empty
speedProjectile velocity in m/s

Implements BaseProjectileEffect.

Member Data Documentation

◆ s_OnExplosionAmmoEffect

ref OnExplosionAmmoEffectInvoker SCR_ExplosionAmmoEffect.s_OnExplosionAmmoEffect
staticprotected

The documentation for this interface was generated from the following file: