Tile - YGameSession - Get Players – Ylands

From Bohemia Interactive Community
Revision as of 15:26, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.