|
BWAPI
|
#include <ScoutData.h>

Public Types | |
| enum | type { None, FailedWithGroundLow, FailedWithGroundHigh, FailedWithAir, CouldNotReachWithGround, InitialBaseLocationScout, BaseScout, TechSearch, BaseSearch, PerimeterSearch, ThoroughSearch } |
Static Public Member Functions | |
| static std::string | getName (type t) |
Definition at line 9 of file ScoutData.h.
| enum ScoutTypeDef::type |
| None | |
| FailedWithGroundLow | |
| FailedWithGroundHigh | |
| FailedWithAir | |
| CouldNotReachWithGround | |
| InitialBaseLocationScout | |
| BaseScout | |
| TechSearch | |
| BaseSearch | |
| PerimeterSearch | |
| ThoroughSearch |
Definition at line 11 of file ScoutData.h.
| static std::string ScoutTypeDef::getName | ( | type | t | ) | [inline, static] |
Definition at line 26 of file ScoutData.h.
References BaseScout, BaseSearch, CouldNotReachWithGround, FailedWithAir, FailedWithGroundHigh, FailedWithGroundLow, InitialBaseLocationScout, None, PerimeterSearch, TechSearch, and ThoroughSearch.
{
switch(t)
{
case None:
return std::string("None");
case FailedWithGroundLow:
return std::string("Failed With Ground Low");
case FailedWithGroundHigh:
return std::string("Failed With Ground High");
case FailedWithAir:
return std::string("Failed With Air");
case CouldNotReachWithGround:
return std::string("Failed To Reach Ground");
case InitialBaseLocationScout:
return std::string("Initial BaseLocation Scout");
case BaseScout:
return std::string("Base Scout");
case TechSearch:
return std::string("Tech Search");
case BaseSearch:
return std::string("Base Search");
case ThoroughSearch:
return std::string("Thorough Search");
case PerimeterSearch:
return std::string("Perimeter Search");
}
return std::string("Unknown");
}
1.7.6.1