Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GameDataAddPlayerEvent<RoomType>

Emitted when a player is added to gamedata.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Constructors

Methods

Properties

Static eventName

eventName: "gamedata.addplayer" = ...

eventName

eventName: "gamedata.addplayer" = ...

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