Tile - YGameSession - Get Players – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Get players to Ylands:Tile - YGameSession - Get Players: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Get Players(Online only) == | |||
[[File:YlandsTile-860.png]] | |||
<pre>static getPlayers(onlineOnly: boolean): YCharacter[];</pre> | |||
=== Parameters === | |||
==== onlineOnly ==== | |||
=== Returns === | |||
'''YCharacter[]''' | |||
=== Description === | |||
Returns a list of '''players''' connected to a multiplayer '''session'''. | |||
=== Notes === | |||
* '''Online only''' filters the list to only the players who are online at the time of the instruction call. | |||
Line 7: | Line 29: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:52, 8 July 2021
Get Players(Online only)
static getPlayers(onlineOnly: boolean): YCharacter[];
Parameters
onlineOnly
Returns
YCharacter[]
Description
Returns a list of players connected to a multiplayer session.
Notes
- Online only filters the list to only the players who are online at the time of the instruction call.