UnitSizeTypes

Module containing unit size types.

Functions

static BWAPI.UnitSizeTypes.allUnitSizeTypes() → set

Retrieves a set of all UnitSizeTypes.

Returns:Set of all UnitSizeTypes.
Return type:UnitSizeTypeset

Constants

All constants are instances of the UnitSizeType class

BWAPI.UnitSizeTypes.Independent
BWAPI.UnitSizeTypes.Small
BWAPI.UnitSizeTypes.Medium
BWAPI.UnitSizeTypes.Large
BWAPI.UnitSizeTypes.None
BWAPI.UnitSizeTypes.Unknown

Enum

Enumeration of unit size types.

Important

Enum values rarely need to be used in Lua.

BWAPI.UnitSizeTypes.Enum.Independent

Value of 0.

BWAPI.UnitSizeTypes.Enum.Small

Value of 1.

BWAPI.UnitSizeTypes.Enum.Medium

Value of 2.

BWAPI.UnitSizeTypes.Enum.Large

Value of 3.

BWAPI.UnitSizeTypes.Enum.None

Value of 4.

BWAPI.UnitSizeTypes.Enum.Unknown

Value of 5.

BWAPI.UnitSizeTypes.Enum.MAX

Value of 6.