Skip to main content

Class: LobbyRoom

Constructors

constructor

new LobbyRoom(room)

Parameters

NameType
roomcolyseusRoom

Properties

onAdd

onAdd: (room: RoomAvailable<any>) => void

Type declaration

▸ (room): void

Parameters
NameType
roomRoomAvailable<any>
Returns

void


onInit

onInit: (rooms: RoomAvailable<any>[]) => void

Type declaration

▸ (rooms): void

Parameters
NameType
roomsRoomAvailable<any>[]
Returns

void


onRemove

onRemove: (roomId: string) => void

Type declaration

▸ (roomId): void

Parameters
NameType
roomIdstring
Returns

void


room

room: colyseusRoom