BWAPI::Errors::Enum namespace

Enumeration of Error types.

Enums

enum Enum { Unit_Does_Not_Exist, Unit_Not_Visible, Unit_Not_Owned, Unit_Busy, Incompatible_UnitType, Incompatible_TechType, Incompatible_State, Already_Researched, Fully_Upgraded, Currently_Researching, Currently_Upgrading, Insufficient_Minerals, Insufficient_Gas, Insufficient_Supply, Insufficient_Energy, Insufficient_Tech, Insufficient_Ammo, Insufficient_Space, Invalid_Tile_Position, Unbuildable_Location, Unreachable_Location, Out_Of_Range, Unable_To_Hit, Access_Denied, File_Not_Found, Invalid_Parameter, None, Unknown, MAX }
Enumeration of Error types.

Enum documentation

enum BWAPI::Errors::Enum::Enum

Enumeration of Error types.

Enumerators
Unit_Does_Not_Exist

Value of 0 [0x0]. See BWAPI::Errors::Unit_Does_Not_Exist.

Unit_Not_Visible

Value of 1 [0x1]. See BWAPI::Errors::Unit_Not_Visible.

Unit_Not_Owned

Value of 2 [0x2]. See BWAPI::Errors::Unit_Not_Owned.

Unit_Busy

Value of 3 [0x3]. See BWAPI::Errors::Unit_Busy.

Incompatible_UnitType

Value of 4 [0x4]. See BWAPI::Errors::Incompatible_UnitType.

Incompatible_TechType

Value of 5 [0x5]. See BWAPI::Errors::Incompatible_TechType.

Incompatible_State

Value of 6 [0x6]. See BWAPI::Errors::Incompatible_State.

Already_Researched

Value of 7 [0x7]. See BWAPI::Errors::Already_Researched.

Fully_Upgraded

Value of 8 [0x8]. See BWAPI::Errors::Fully_Upgraded.

Currently_Researching

Value of 9 [0x9]. See BWAPI::Errors::Currently_Researching.

Currently_Upgrading

Value of 10 [0xa]. See BWAPI::Errors::Currently_Upgrading.

Insufficient_Minerals

Value of 11 [0xb]. See BWAPI::Errors::Insufficient_Minerals.

Insufficient_Gas

Value of 12 [0xc]. See BWAPI::Errors::Insufficient_Gas.

Insufficient_Supply

Value of 13 [0xd]. See BWAPI::Errors::Insufficient_Supply.

Insufficient_Energy

Value of 14 [0xe]. See BWAPI::Errors::Insufficient_Energy.

Insufficient_Tech

Value of 15 [0xf]. See BWAPI::Errors::Insufficient_Tech.

Insufficient_Ammo

Value of 16 [0x10]. See BWAPI::Errors::Insufficient_Ammo.

Insufficient_Space

Value of 17 [0x11]. See BWAPI::Errors::Insufficient_Space.

Invalid_Tile_Position

Value of 18 [0x12]. See BWAPI::Errors::Invalid_Tile_Position.

Unbuildable_Location

Value of 19 [0x13]. See BWAPI::Errors::Unbuildable_Location.

Unreachable_Location

Value of 20 [0x14]. See BWAPI::Errors::Unreachable_Location.

Out_Of_Range

Value of 21 [0x15]. See BWAPI::Errors::Out_Of_Range.

Unable_To_Hit

Value of 22 [0x16]. See BWAPI::Errors::Unable_To_Hit.

Access_Denied

Value of 23 [0x17]. See BWAPI::Errors::Access_Denied.

File_Not_Found

Value of 24 [0x18]. See BWAPI::Errors::File_Not_Found.

Invalid_Parameter

Value of 25 [0x19]. See BWAPI::Errors::Invalid_Parameter.

None

Unknown

MAX