Tile - YGameSession - Get Players – Ylands

From Bohemia Interactive Community
Revision as of 12:15, 12 November 2021 by YlandsClassyBot (talk | contribs)
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.