ProjectileHitEntityAfterEventSignal Class

Manages callbacks that are connected to when a projectile hits an entity.

Methods

subscribe

subscribe(callback: (arg: ProjectileHitEntityAfterEvent) => void): (arg: ProjectileHitEntityAfterEvent) => void

Adds a callback that will be called when a projectile hits an entity.

Parameters

Returns (arg: ProjectileHitEntityAfterEvent) => void

Important

This function can't be called in read-only mode.

unsubscribe

unsubscribe(callback: (arg: ProjectileHitEntityAfterEvent) => void): void

Removes a callback from being called when a projectile hits an entity.

Parameters

Important

This function can't be called in read-only mode.