Tile - YResource - Get Active Resources – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Stub}}" to "{{Wiki|stub}}")
No edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Wiki|stub}}
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Get Active Resources(Player) ==
 
[[File:YlandsTile-1097.png]]
 
<pre>static getActive(player: YCharacter): YResource[];</pre>
=== Parameters ===
 
==== player ====
 
Target player
 
=== Returns ===
 
'''YResource[]'''
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Returns array of all active resources used by target player.
 
== Get Active Resources() ==
 
[[File:YlandsTile-1217.png]]
 
<pre>static getActive(): YResource[];</pre>
=== Returns ===
 
'''YResource[]'''
 
=== Availability ===
 
[[Ylands:Tile Availability - Client|Client]]
 
=== Description ===
 
Returns an array of active resources assigned to the player.




Line 7: Line 48:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 1.3]]

Revision as of 12:16, 12 November 2021

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.