Tile - YGameSession - Get Players – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(6 intermediate revisions by 2 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. | |||
--> | |||
== Get Players(Online only) == | |||
[[File:YlandsTile-860.png]] | |||
<pre>static getPlayers(onlineOnly: boolean): YCharacter[];</pre> | |||
=== Parameters === | |||
==== onlineOnly ==== | |||
=== Returns === | |||
'''YCharacter[]''' | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]] | |||
=== 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. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 14:26, 24 November 2023
Get Players(Online only)
static getPlayers(onlineOnly: boolean): YCharacter[];
Parameters
onlineOnly
Returns
YCharacter[]
Availability
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.