Tile - YGameSession - Start Matchmaking
Jump to navigation Jump to search
Start Matchmaking(Guids, Player, Priority, On session reserved, On reservation failed)
static matchmakingStart(guids: String, player: YCharacter, priority: number, onReserved: (sessionObject: YSessionObject) => void, onReservationFailed: (failReason: YMatchmakingError) => void): void;
A list of Game IDs obtained via Game set manager which the player will be matched to.
Player to be added to Matchmaker queue.
Priority given to the player in the queue. Higher value = higher priority.
Contains target server and player to be dispatched.
Reason of failure.
Adds the player to the Matchmaker queue for listed games.