BWAPI  4.1.2
An API for interacting with Starcraft: Broodwar (1.16.1)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules
Namespaces | Functions | Variables
BWAPI::PlayerTypes Namespace Reference

Namespaces

 Enum
 

Functions

const PlayerType::setallPlayerTypes ()
 

Variables

const PlayerType Closed
 
const PlayerType Computer
 
const PlayerType ComputerLeft
 
const PlayerType EitherPreferComputer
 
const PlayerType EitherPreferHuman
 
const PlayerType Neutral
 
const PlayerType None
 
const PlayerType Player
 
const PlayerType PlayerLeft
 
const PlayerType RescuePassive
 
const PlayerType 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.

Variable Documentation

const PlayerType BWAPI::PlayerTypes::None
BWAPI::PlayerTypes::Computer

Computer.

Corresponds with PlayerTypes::Enum::Computer.

Game LocationsGame
BWAPI::PlayerTypes::Player

Player.

Corresponds with PlayerTypes::Enum::Player.

Game LocationsGame
BWAPI::PlayerTypes::RescuePassive

RescuePassive.

Corresponds with PlayerTypes::Enum::RescuePassive.

Game LocationsGame, Lobby
BWAPI::PlayerTypes::EitherPreferComputer

EitherPreferComputer.

Corresponds with PlayerTypes::Enum::EitherPreferComputer.

Game LocationsLobby
BWAPI::PlayerTypes::EitherPreferHuman

EitherPreferHuman.

Corresponds with PlayerTypes::Enum::EitherPreferHuman.

Game LocationsLobby
BWAPI::PlayerTypes::Neutral

Neutral.

Corresponds with PlayerTypes::Enum::Neutral.

Game LocationsGame, Lobby
BWAPI::PlayerTypes::Closed

Closed.

Corresponds with PlayerTypes::Enum::Closed.

BWAPI::PlayerTypes::PlayerLeft

PlayerLeft.

Corresponds with PlayerTypes::Enum::PlayerLeft.

BWAPI::PlayerTypes::ComputerLeft

ComputerLeft.

Corresponds with PlayerTypes::Enum::ComputerLeft.

const PlayerType BWAPI::PlayerTypes::Unknown