Update type definitions with multiplayer scores sorting.

parent 2bab9e40
Pipeline #2040 passed with stage
in 1 minute and 9 seconds
......@@ -310,6 +310,10 @@ declare module "bancho.js" {
* Multiplayer lobby ID (used in multiplayer history links)
*/
id: number
/**
* Multiplayer lobby ID (used in multiplayer history links)
*/
scores: Array<BanchoLobbyPlayerScore>
/**
* Name of the lobby, as seein in-game
*/
......@@ -490,6 +494,11 @@ declare module "bancho.js" {
*/
getHistoryUrl(): string
/**
* Sort scores by pass and score.
*/
sortScores(): void
on(event: "allPlayersReady", listener: () => void): this
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment