GetBuilding (Harvest)

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
166 MMX (Talk | contribs)
(Created page with '{{HarvestMethod | getBuilding(id) | Fetches a building, or nil if the building doesn't exist. | {{MethodParam|id|Number|The id of the building to retrieve the building for.}} | R...')
Newer edit →

Revision as of 20:06, 2 December 2009

getBuilding(id)

Fetches a building, or nil if the building doesn't exist.

Parameter Expected Type Description
id Number The id of the building to retrieve the building for.
Returns

Returns the building of a given id.

Harvest Library

Example

building = harvest.getBuilding(id)

Resources

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox