Tile - YResource - Get Active Resources – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Get Active Resources(Player)

YlandsTile-1097.png

static getActive(player: YCharacter): YResource[];

Parameters

player

Target player

Returns

YResource[]

Availability

Server

Description

Returns array of all active resources used by target player.

Get Active Resources()

YlandsTile-1217.png

static getActive(): YResource[];

Returns

YResource[]

Availability

Client

Description

Returns an array of active resources assigned to the player.