Tile - YResource - Get Active Resources – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Stub}}" to "{{Wiki|stub}}") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!--- | |||
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]] | ||
Revision as of 12:16, 12 November 2021
Get Active Resources(Player)
static getActive(player: YCharacter): YResource[];
Parameters
player
Target player
Returns
YResource[]
Availability
Description
Returns array of all active resources used by target player.
Get Active Resources()
static getActive(): YResource[];
Returns
YResource[]
Availability
Description
Returns an array of active resources assigned to the player.