skeldjs
    Preparing search index...

    Class PlayerReportDeadBodyEvent<RoomType>

    Emitted when a player reports a dead body of a player, telling the host to begin a meeting.

    This event is only emitted if the client is the host and doesn't guarantee that a meeting has started, see PlayerStartMeetingEvent to listen for a meeting actually being started, and regardless of whether the client is the host or not.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    body: "emergency" | Player<RoomType>

    The body that the player reported, or "emergency" if the player called an emergency meeting.

    canceled: boolean
    eventName: "player.reportbody" = ...
    message: undefined | ReportDeadBodyMessage

    The message that this event originated from.

    player: Player<RoomType>

    The player that this event is for.

    room: RoomType

    The room or client that the event came from.

    eventName: "player.reportbody" = ...

    Accessors

    Methods