Skip to content

@valoranchi/riot-client / raw / MatchValidator

Class: MatchValidator ​

Defined in: src/client/MatchValidator.ts:11

Constructors ​

Constructor ​

new MatchValidator(): MatchValidator

Returns ​

MatchValidator

Methods ​

validateDodge() ​

static validateDodge(pregamePlayer, options?): object

Defined in: src/client/MatchValidator.ts:94

Parameters ​

pregamePlayer ​

RiotPregamePlayerResponse | null | undefined

options? ​
confirm? ​

boolean

Returns ​

object

matchId ​

matchId: string

method ​

method: string

path ​

path: string


validateLeaveMatch() ​

static validateLeaveMatch(corePlayer, selfPuuid, options?): object

Defined in: src/client/MatchValidator.ts:114

Parameters ​

corePlayer ​

RiotCoreGamePlayerResponse | null | undefined

selfPuuid ​

string

options? ​
confirm? ​

boolean

Returns ​

object

matchId ​

matchId: string

method ​

method: string

path ​

path: string

puuid ​

puuid: string


validateSelectOrLock() ​

static validateSelectOrLock(pregameMatch, catalogue, entitlements, agentQuery, selfPuuid, action?): object

Defined in: src/client/MatchValidator.ts:12

Parameters ​

pregameMatch ​

RiotPregameMatchResponse | null | undefined

catalogue ​

Catalogue

entitlements ​

RiotEntitlementsResponse

agentQuery ​

string

selfPuuid ​

string

action? ​

"select" | "lock"

Returns ​

object

agentUuid ​

agentUuid: string

matchId ​

matchId: string

method ​

method: string

path ​

path: string

Not affiliated with Riot Games