object - commandobject - unit


int GetBuildingType()

Scope: public

Parameters
none

Return values
If unit is a building than returns it's type, if not returns 0.

Description

See also
IsBuilding