Class PlayerStartMeetingEvent<RoomType>

Emitted when a meeting is started, either by a player reporting a body or calling an emergency meetting.

This guarantees that the meeting has actually started, see PlayerReportDeadBodyEvent for an event that can prevent a meeting from being started if you are the host.

Type Parameters

Hierarchy

  • BasicEvent
    • PlayerStartMeetingEvent

Implements

Properties

eventName: "player.startmeeting"
body: PlayerData<RoomType> | "emergency"

The player of the body that was reported, or "emergency" if the meeting is an emergency meeting.

caller: PlayerData<RoomType>

The player who called the meeting, either by reporting a body or calling an emergency meeting.

eventName: "player.startmeeting"
message: undefined | StartMeetingMessage

The message that this event originated from.

player: PlayerData<RoomType>

The player that this event is for.

room: RoomType

The room or client that the event came from.

Constructors

  • Type Parameters

    Parameters

    • room: RoomType
    • player: PlayerData<RoomType>
    • message: undefined | StartMeetingMessage
    • caller: PlayerData<RoomType>

      The player who called the meeting, either by reporting a body or calling an emergency meeting.

    • body: PlayerData<RoomType> | "emergency"

      The player of the body that was reported, or "emergency" if the meeting is an emergency meeting.

    Returns PlayerStartMeetingEvent<RoomType>

Generated using TypeDoc