BWAPI  4.2.0
An API for interacting with Starcraft: Broodwar (1.16.1)
Enumerations
BWAPI::PlayerTypes::Enum Namespace Reference

Enumerations

enum  Enum {
  None = 0,
  Computer,
  Player,
  RescuePassive,
  RescueActive,
  EitherPreferComputer,
  EitherPreferHuman,
  Neutral,
  Closed,
  Observer,
  PlayerLeft,
  ComputerLeft,
  Unknown,
  MAX
}

Detailed Description

Enumeration of player types (player controllers).

See also
PlayerType

Enumeration Type Documentation

Enumeration of player types (player controllers).

See also
PlayerType
Enumerator
None 
Computer 

Value of 1 [0x1].

See BWAPI::PlayerTypes::Computer.

Player 

Value of 2 [0x2].

See BWAPI::PlayerTypes::Player.

RescuePassive 

Value of 3 [0x3].

See BWAPI::PlayerTypes::RescuePassive.

RescueActive 
EitherPreferComputer 

Value of 5 [0x5].

See BWAPI::PlayerTypes::EitherPreferComputer.

EitherPreferHuman 

Value of 6 [0x6].

See BWAPI::PlayerTypes::EitherPreferHuman.

Neutral 

Value of 7 [0x7].

See BWAPI::PlayerTypes::Neutral.

Closed 

Value of 8 [0x8].

See BWAPI::PlayerTypes::Closed.

Observer 
PlayerLeft 

Value of 10 [0xa].

See BWAPI::PlayerTypes::PlayerLeft.

ComputerLeft 

Value of 11 [0xb].

See BWAPI::PlayerTypes::ComputerLeft.

Unknown 
MAX