Static
eventReadonly
chatThe chat language that returned rooms should be using.
Readonly
clientThe client that is looking for a game.
Readonly
gameThe map that returned rooms should be on.
Readonly
gamesThe rooms that will be returned back to the client, unless changed with setGames.
Readonly
numThe number of impostors that should be used in the returned rooms.
The games that will be returned instead, if modified with setGames.
Change the games that will be returned back to the client.
The games that should be returned instead.
The client that is looking for a game.
The chat language that returned rooms should be using.
The map that returned rooms should be on.
The number of impostors that should be used in the returned rooms.
The rooms that will be returned back to the client, unless changed with setGames.
Generated using TypeDoc
Emitted when a connection enters the "public games" section and begins looking for games. Can be used to fetch game listing sources from external sources, just to return your own list of games, or cancel searching altogether.