Ylands:Tile - YGameSession - Restart The Game: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Restart The Game(Rejoin all players) == | |||
[[File:YlandsTile-230.png]] | |||
<pre>static restartGame(rejoinPlayers: boolean): void;</pre> | |||
=== Parameters === | |||
==== rejoinPlayers ==== | |||
Whenever the players should be automatically reconnected to the game after restart | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]] | |||
=== Description === | |||
'''Restarts''' currently running '''game'''. In multiplayer, it will '''disconnect''' all '''players''' and restart the server. | |||
== Restart The Game(Players to rejoin) == | |||
[[File:YlandsTile-589.png]] | |||
<pre>static restartGame(playersToRejoin: YCharacter[]): void;</pre> | |||
=== Parameters === | |||
==== playersToRejoin ==== | |||
List of players to rejoin the session | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]] | |||
=== Description === | |||
Allows to '''restart''' currently running '''game''' and '''rejoin''' selected '''players'''. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | |||
[[Category: Instructions]] | [[Category: Instructions]] |
Revision as of 11:15, 12 November 2021
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.