Tile - YResource - Get Active Resources – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

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.