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}}}}") |
||
(7 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}}|7}}}} | |||
[[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.