Expected type constructor. If the type is an invalid type, then it becomes Types::Unknown. A type is invalid if its value is less than 0 or greater than Types::Unknown. Parameters id The id that corresponds to this type. It is typically an integer value that corresponds to an internal Broodwar type. If the given id is invalid, then it becomes Types::Unknown.
Retrieves the default resource center UnitType that is used to create expansions for this Race. Note In Starcraft, the center is the very first structure of the Race's technology tree. Also known as its base of operations or resource depot. Returns UnitType of the center that this race uses.
Retrieves the default structure UnitType for this Race that is used to harvest gas from Vespene Geysers. Note In Starcraft, you must first construct a structure over a Vespene Geyser in order to begin harvesting Vespene Gas. Returns UnitType of the structure used to harvest gas.
Retrieves the default transport UnitType for this race that is used to transport ground units across the map. Note In Starcraft, transports will allow you to carry ground units over unpassable terrain. Returns UnitType for transportation.
Retrieves the default supply provider UnitType for this race that is used to construct units. Note In Starcraft, training, morphing, or warping in units requires that the player has sufficient supply available for their Race. Returns UnitType that provides the player with supply.