Skip to main content

Class: EntityDieAfterEvent

Contains data related to the death of an entity in the game.

Constructors

new EntityDieAfterEvent()

private new EntityDieAfterEvent(): EntityDieAfterEvent

Returns

EntityDieAfterEvent

Properties

damageSource

readonly damageSource: EntityDamageSource

Remarks

If specified, provides more information on the source of damage that caused the death of this entity.


deadEntity

readonly deadEntity: Entity

Remarks

Now-dead entity object.