|
Position | findNydusPosition (Position farAwayFrom=kInvalidPosition) |
|
virtual void | preBuild2 (autobuild::BuildState &st) override |
|
virtual void | buildStep2 (autobuild::BuildState &st) override |
|
| ABBOBase (UpcId upcId, State *state, Module *module) |
|
void | findNaturalDefencePos (State *) |
|
Position | getStaticDefencePos (State *, const BuildType *type) |
|
void | buildSunkens (autobuild::BuildState &st, int n, Position={}, bool morphFirst=false) |
|
void | buildSpores (autobuild::BuildState &st, int n, Position={}, bool morphFirst=false) |
|
void | morphSunkens (autobuild::BuildState &, int n=1000) |
|
void | morphSpores (autobuild::BuildState &, int n=1000) |
|
void | takeNBases (autobuild::BuildState &, int n) |
|
void | expand (autobuild::BuildState &st) |
|
void | calculateArmySupply (const autobuild::BuildState &st) |
|
Position | findHatcheryPosNear (Position seedPos) |
|
Position | findSunkenPosNear (const BuildType *type, Position seedPos, bool coverMineralsOnly=false) |
|
Position | findSunkenPos (const BuildType *type, bool mainBaseOnly=false, bool coverMineralsOnly=false) |
|
virtual void | preBuild (autobuild::BuildState &st) overridefinal |
| One of the three steps of processing a build order. More...
|
|
virtual void | postBuild2 (autobuild::BuildState &st) |
|
virtual void | postBuild (autobuild::BuildState &st) overridefinal |
| The final step of processing a build order. More...
|
|
virtual void | buildStep (autobuild::BuildState &) overridefinal |
| The meat of a build order lives in buildStep(). More...
|
|
void | postBlackboardKey (std::string const &key, Blackboard::Data const &data) |
|
bool | cancelGas () |
|
| AutoBuildTask (int upcId, State *state, Module *module) |
|
virtual | ~AutoBuildTask () override |
|
virtual void | update (State *state) override |
|
void | evaluate (State *state, Module *module) |
|
void | simEvaluateFor (autobuild::BuildState &st, FrameNum frames) |
|
void | build (const BuildType *type, Position pos, std::function< void()> builtCallback) |
| Builds a building at a specific position. More...
|
|
void | build (const BuildType *type, std::function< void()> builtCallback) |
| Builds a unit/building, upgrade, or technology. More...
|
|
void | build (const BuildType *type, Position pos) |
| Builds a building at a specific position. More...
|
|
void | build (const BuildType *type) |
| Builds a unit/building, upgrade, or technology. More...
|
|
bool | buildN (const BuildType *type, int n) |
| Builds up to N of a unit/building. More...
|
|
bool | buildN (const BuildType *type, int n, int simultaneous) |
| Builds up to N of a unit/building, with an optional limit on how many to build consecutively. More...
|
|
bool | buildN (const BuildType *type, int n, Position positionIfWeBuildMore) |
| Builds up to N of a building, specifying a position for the next new building. More...
|
|
bool | upgrade (const BuildType *type) |
| Researches an Upgrade or Tech Enqueues any required but missing prerequisites (like adding a Lair if you request Lurker Aspect). More...
|
|
autobuild::BuildState & | lastEvaluateCurrentState () |
|
autobuild::BuildState & | lastEvaluateTargetState () |
|
| MultiProxyTask (std::vector< UpcId > targetUpcIds, UpcId upcId) |
|
virtual | ~MultiProxyTask ()=default |
|
void | setPolicyForStatus (TaskStatus status, ProxyPolicy policy) |
|
virtual void | cancel (State *state) override |
|
virtual std::unordered_set< Unit * > const & | proxiedUnits () const override |
| A set of units occupied performing this task. More...
|
|
std::vector< std::shared_ptr< Task > > | targets () const |
|
| Task (UpcId upcId, std::unordered_set< Unit * > units={}) |
|
virtual | ~Task () |
|
TaskStatus | status () const |
|
void | setStatus (TaskStatus status) |
|
bool | finished () const |
|
UpcId | upcId () const |
| UPC id in Blackboard that caused this Task to be spawned. More...
|
|
std::unordered_set< Unit * > const & | units () const |
| A set of units occupied performing this task. More...
|
|
void | removeUnit (Unit *unit) |
|
virtual const char * | getName () const |
| A name for this task, for debugging purposes. More...
|
|