Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RoomGameEndEvent<RoomType>

Emitted when a game ends.

See RoomEndGameIntentEvent to cancel or listen for before a game is ended.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Constructors

Properties

Static eventName

eventName: "room.gameend" = ...

eventName

eventName: "room.gameend" = ...

Readonly reason

reason: number

Readonly room

room: RoomType

The room or client that the event came from.

Constructors

constructor

  • new RoomGameEndEvent<RoomType>(room: RoomType, reason: number): RoomGameEndEvent<RoomType>

Generated using TypeDoc