Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GameDataRemovePlayerEvent<RoomType>

Emitted when a player is removed from gamedata.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Constructors

Methods

Properties

Static eventName

eventName: "gamedata.removeplayer" = ...

eventName

eventName: "gamedata.removeplayer" = ...

Readonly gamedata

gamedata: GameData<RoomType>

The gamedata object that this event is for.

Readonly player

player: PlayerInfo<RoomType>

reverted

reverted: boolean

Readonly room

room: RoomType

The room or client that the event came from.

Constructors

constructor

Methods

revert

  • revert(): void

Generated using TypeDoc