five-on-it / apps/api/src/matchmaking / QuickPlayGate
Interface: QuickPlayGate
Defined in: apps/api/src/matchmaking.ts:37
Who Quick play may place where: the Respect gate, the conduct pool, the hidden skill.
Methods
admits()
admits(
account,entry):boolean
Defined in: apps/api/src/matchmaking.ts:39
Whether an account may be placed in a mission.
Parameters
account
string
entry
Returns
boolean
pool()
pool(
account):string|undefined
Defined in: apps/api/src/matchmaking.ts:41
The pool an account is matched in (all, everyone's, when the pools are not split; none means all).
Parameters
account
string
Returns
string | undefined
skill()?
optionalskill(account):number
Defined in: apps/api/src/matchmaking.ts:43
An account's hidden skill (a rating): the versus lobbies nearest the group's first.
Parameters
account
string
Returns
number
warm()?
optionalwarm(accounts,entries):Promise<void>
Defined in: apps/api/src/matchmaking.ts:45
Looks at a group's standings and the gates of the missions it may be placed in, before it is placed.
Parameters
accounts
readonly string[]
entries
readonly CatalogMission[]
Returns
Promise<void>