Static
eventReadonly
clientThe client that is attempting to create a room.
Readonly
gameThe game options that the player is attempting to create a room with.
Readonly
roomThe game code of the room that will be created.
The new room code if it was altered.
The client that is attempting to create a room.
The game options that the player is attempting to create a room with.
The game code of the room that will be created.
Generated using TypeDoc
Emitted before a player successfully or unsuccessfully creates a room.
This event allows you to prevent players from creating rooms, or allow custom room codes.
Example