BWAPI  4.2.0
An API for interacting with Starcraft: Broodwar (1.16.1)
Namespaces | Functions | Variables
BWAPI::PlayerTypes Namespace Reference

Namespaces

 Enum

Functions

const PlayerType::setallPlayerTypes ()

Variables

constexpr PlayerType Closed {Enum::Closed}
constexpr PlayerType Computer {Enum::Computer}
constexpr PlayerType ComputerLeft {Enum::ComputerLeft}
constexpr PlayerType EitherPreferComputer {Enum::EitherPreferComputer}
constexpr PlayerType EitherPreferHuman {Enum::EitherPreferHuman}
constexpr PlayerType Neutral {Enum::Neutral}
constexpr PlayerType None {Enum::None}
constexpr PlayerType Player {Enum::Player}
constexpr PlayerType PlayerLeft {Enum::PlayerLeft}
constexpr PlayerType RescuePassive {Enum::RescuePassive}
constexpr PlayerType Unknown {Enum::Unknown}

Detailed Description

Namespace containing player types (player controllers).

See also
PlayerType

Function Documentation

const PlayerType::set& BWAPI::PlayerTypes::allPlayerTypes ()

Retrieves the set of all the PlayerTypes.

Returns
Set consisting of all valid PlayerTypes.

Referenced by BWAPI::PlayerType::PlayerType().

Variable Documentation

constexpr PlayerType BWAPI::PlayerTypes::None {Enum::None}
BWAPI::PlayerTypes::Computer {Enum::Computer}

Computer.

Corresponds with PlayerTypes::Enum::Computer.

Game LocationsGame
BWAPI::PlayerTypes::Player {Enum::Player}

Player.

Corresponds with PlayerTypes::Enum::Player.

Game LocationsGame
BWAPI::PlayerTypes::RescuePassive {Enum::RescuePassive}

RescuePassive.

Corresponds with PlayerTypes::Enum::RescuePassive.

Game LocationsGame, Lobby
BWAPI::PlayerTypes::EitherPreferComputer {Enum::EitherPreferComputer}

EitherPreferComputer.

Corresponds with PlayerTypes::Enum::EitherPreferComputer.

Game LocationsLobby
BWAPI::PlayerTypes::EitherPreferHuman {Enum::EitherPreferHuman}

EitherPreferHuman.

Corresponds with PlayerTypes::Enum::EitherPreferHuman.

Game LocationsLobby
BWAPI::PlayerTypes::Neutral {Enum::Neutral}

Neutral.

Corresponds with PlayerTypes::Enum::Neutral.

Game LocationsGame, Lobby
BWAPI::PlayerTypes::Closed {Enum::Closed}

Closed.

Corresponds with PlayerTypes::Enum::Closed.

BWAPI::PlayerTypes::PlayerLeft {Enum::PlayerLeft}

PlayerLeft.

Corresponds with PlayerTypes::Enum::PlayerLeft.

BWAPI::PlayerTypes::ComputerLeft {Enum::ComputerLeft}

ComputerLeft.

Corresponds with PlayerTypes::Enum::ComputerLeft.

constexpr PlayerType BWAPI::PlayerTypes::Unknown {Enum::Unknown}