Tile - YGameSession - Reserve Session – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
==== onReservationFailed ==== | ==== onReservationFailed ==== | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]] | |||
=== Description === | === Description === |
Revision as of 11:15, 12 November 2021
Reserve Session(Guid, Players, On session reserved, On reservation failed)
static reserveSession(guid: string, players: YCharacter[], onReserved: (sessionObject: YSessionObject) => void, onReservationFailed: (failReason: YReservationError) => void): void;
Parameters
guid
players
onReserved
onReservationFailed
Availability
Description
Reserves a multiplayer session for the selected players.