Tile - YGameSession - Start Matchmaking – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Start Matchmaking(Guids, Player, Priority, On ses...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
Line 28: Line 28:


Reason of failure.
Reason of failure.
=== Availability ===
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]]


=== Description ===
=== Description ===
Line 36: Line 40:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:26, 24 November 2023

Start Matchmaking(Guids, Player, Priority, On session reserved, On reservation failed)

YlandsTile-891.png

static matchmakingStart(guids: String[], player: YCharacter, priority: number, onReserved: (sessionObject: YSessionObject) => void, onReservationFailed: (failReason: YMatchmakingError) => void): void;

Parameters

guids

A list of Game IDs obtained via Game set manager which the player will be matched to.

player

Player to be added to Matchmaker queue.

priority

Priority given to the player in the queue. Higher value = higher priority.

onReserved

Contains target server and player to be dispatched.

onReservationFailed

Reason of failure.

Availability

Server, Not in Edu

Description

Adds the player to the Matchmaker queue for listed games.