GetResourceAmount

Parameters
whichUnit unit

Add gold to this gold mine unit.

comment

Returns the amount of available gold in a gold mine. The amount can be negative, which is practically the same as 0.

note

See SetResourceAmount for edge-case descriptions. Also: SetResourceAmount, AddResourceAmount.

patch

1.00

return type
integer
Source code
native GetResourceAmount            takes unit whichUnit returns integer
Source
common.j
wc3modding.com
GetResourceAmount