Skip to content

1681-engine / index / MatchMode

Interface: MatchMode ​

Defined in: src/net/lobby/Matchmaker.ts:2

A mode the matchmaker fills: teams sides of teamSize players.

Properties ​

id ​

ts
id: string;

Defined in: src/net/lobby/Matchmaker.ts:3


maxWindow? ​

ts
optional maxWindow?: number;

Defined in: src/net/lobby/Matchmaker.ts:9


teams ​

ts
teams: number;

Defined in: src/net/lobby/Matchmaker.ts:4


teamSize ​

ts
teamSize: number;

Defined in: src/net/lobby/Matchmaker.ts:5


widenPerSecond? ​

ts
optional widenPerSecond?: number;

Defined in: src/net/lobby/Matchmaker.ts:8


window? ​

ts
optional window?: number;

Defined in: src/net/lobby/Matchmaker.ts:7

Rating difference allowed at once (default 100), widened by widenPerSecond (default 10) up to maxWindow (default 600).

Released under the MIT License.