Class WorkerGetGameListEvent

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.

Hierarchy

  • CancelableEvent
    • WorkerGetGameListEvent

Properties

eventName: "worker.getgamelist" = ...
canceled: boolean
chatLanguage: GameKeyword

The chat language that returned rooms should be using.

client: Connection

The client that is looking for a game.

eventName: "worker.getgamelist" = ...
gameMap: GameMap

The map that returned rooms should be on.

games: GameListing[]

The rooms that will be returned back to the client, unless changed with setGames.

numImpostors: number

The number of impostors that should be used in the returned rooms.

Accessors

Methods

  • Returns void

Constructors

Generated using TypeDoc