Tile - YGameSession - Restart The Game – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 43: | Line 43: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 15:27, 24 November 2023
Restart The Game(Rejoin all players)
static restartGame(rejoinPlayers: boolean): void;
Parameters
rejoinPlayers
Whenever the players should be automatically reconnected to the game after restart
Availability
Description
Restarts currently running game. In multiplayer, it will disconnect all players and restart the server.
Restart The Game(Players to rejoin)
static restartGame(playersToRejoin: YCharacter[]): void;
Parameters
playersToRejoin
List of players to rejoin the session
Availability
Description
Allows to restart currently running game and rejoin selected players.