#include <UnitCommandType.h>
Public Member Functions | |
UnitCommandType () | |
UnitCommandType (int id) | |
UnitCommandType (const UnitCommandType &other) | |
UnitCommandType & | operator= (const UnitCommandType &other) |
operator int () const | |
int | getID () const |
std::string | getName () const |
BWAPI::UnitCommandType::UnitCommandType | ( | int | id | ) |
BWAPI::UnitCommandType::UnitCommandType | ( | const UnitCommandType & | other | ) |
int BWAPI::UnitCommandType::getID | ( | ) | const |
Returns a unique ID for this UnitCommandType.
std::string BWAPI::UnitCommandType::getName | ( | ) | const |
Returns the string corresponding to the UnitCommandType object. For example, UnitCommandTypes::Set_Rally_Position.getName() returns std::string("Set Rally Position")
BWAPI::UnitCommandType::operator int | ( | ) | const |
UnitCommandType& BWAPI::UnitCommandType::operator= | ( | const UnitCommandType & | other | ) |