Tile - YGameSession - Reserve Session – Ylands

From Bohemia Interactive Community
Revision as of 11:15, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

Reserve Session(Guid, Players, On session reserved, On reservation failed)

YlandsTile-740.png

static reserveSession(guid: string, players: YCharacter[], onReserved: (sessionObject: YSessionObject) => void, onReservationFailed: (failReason: YReservationError) => void): void;

Parameters

guid

players

onReserved

onReservationFailed

Availability

Server, Not in Edu

Description

Reserves a multiplayer session for the selected players.