Options
All
  • Public
  • Public/Protected
  • All
Menu

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

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "player.startmeeting" = ...

Readonly body

body: "emergency" | PlayerData<RoomType>

Readonly caller

caller: PlayerData<RoomType>

eventName

eventName: "player.startmeeting" = ...

Readonly message

message: undefined | StartMeetingMessage

The message that this event originated from.

Readonly player

player: PlayerData<RoomType>

The player that this event is for.

Readonly room

room: RoomType

The room or client that the event came from.

Constructors

constructor

  • new PlayerStartMeetingEvent<RoomType>(room: RoomType, player: PlayerData<RoomType>, message: undefined | StartMeetingMessage, caller: PlayerData<RoomType>, body: "emergency" | PlayerData<RoomType>): PlayerStartMeetingEvent<RoomType>

Generated using TypeDoc