Class: LobbyRoom
Constructors
constructor
• new LobbyRoom(room
)
Parameters
Name | Type |
---|---|
room | colyseusRoom |
Properties
onAdd
• onAdd: (room
: RoomAvailable
<any
>) => void
Type declaration
▸ (room
): void
Parameters
Name | Type |
---|---|
room | RoomAvailable <any > |
Returns
void
onInit
• onInit: (rooms
: RoomAvailable
<any
>[]) => void
Type declaration
▸ (rooms
): void
Parameters
Name | Type |
---|---|
rooms | RoomAvailable <any >[] |
Returns
void
onRemove
• onRemove: (roomId
: string
) => void
Type declaration
▸ (roomId
): void
Parameters
Name | Type |
---|---|
roomId | string |
Returns
void
room
• room: colyseusRoom