Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EntityDeathFunction

Function used in "EntityDeath" callback

Hierarchy

  • EntityDeathFunction

Callable

  • __call(entity: number, attacker: number, damageType: number): void
  • Function used in "EntityDeath" callback

    Parameters

    • entity: number

      entity that is dead

    • attacker: number

      if the entity was killed by another entity, attacker's entity unique id, -1 otherwise

    • damageType: number

      damage source id

    Returns void

Generated using TypeDoc