Type Alias DeathEvents

    DeathEvents: {
        deathReceived: [source: string, time: number, cause?: string];
    }

    An interface with all supported death events and their respective callback arguments. To be called from MessageManager.

    Type declaration

    • deathReceived: [source: string, time: number, cause?: string]

      Fired when a DeathLink-enabled player has sent a DeathLink.

      The player who sent this DeathLink.

      The timestamp this player died. Time is in number of milliseconds from unix epoch (same timestamp system in JavaScript).

      Optional description detailing the specific cause of death.