Tile - YEnergy - Get Port Count – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Energy port count to Ylands:Tile - YEnergy - Get Port Count: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Get Port Count(Entity) == | |||
= | [[File:YlandsTile-1056.png]] | ||
<pre>static getPortCount(target: YEntity): number;</pre> | |||
=== Parameters === | |||
==== target ==== | |||
Target entity | |||
=== Returns === | |||
'''number''' | |||
=== Description === | |||
Returns the '''number''' of energy '''ports''' of target '''entity'''. | |||
Line 11: | Line 27: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 09:52, 8 July 2021
Get Port Count(Entity)
static getPortCount(target: YEntity): number;
Parameters
target
Target entity
Returns
number
Description
Returns the number of energy ports of target entity.