Tile - YGameSession - Get Players – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
Line 30: Line 30:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:26, 24 November 2023

Get Players(Online only)

YlandsTile-860.png

static getPlayers(onlineOnly: boolean): YCharacter[];

Parameters

onlineOnly

Returns

YCharacter[]

Availability

Server, 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.