Class HttpMatchmakerClient
Methods
findGames
- findGames(mapId: number, lang: number, quickChat: number, platformFlags: number, numImpostors: number): Promise<GameListing[]>
-
Parameters
-
mapId: number
-
lang: number
-
quickChat: number
-
platformFlags: number
-
numImpostors: number
Returns Promise<GameListing[]>
getIpToHostGame
- getIpToHostGame(): Promise<{ ip: string; port: number }>
-
Returns Promise<{ ip: string; port: number }>
getIpToJoinGame
- getIpToJoinGame(gameCode: number): Promise<{ ip: string; port: number }>
-
Parameters
Returns Promise<{ ip: string; port: number }>
ipIntToString
- ipIntToString(ip: number): string
-
Parameters
Returns string
Properties
Optional hostname
hostname: string
Optional port
port: number