Public Types |
| enum | WorkerJob {
Minerals,
Gas,
Build,
Combat,
Idle,
Repair,
Move,
Scout,
Default
} |
Public Member Functions |
| | WorkerData () |
| void | workerDestroyed (BWAPI::Unit *unit) |
| void | addDepot (BWAPI::Unit *unit) |
| void | removeDepot (BWAPI::Unit *unit) |
| void | addWorker (BWAPI::Unit *unit) |
| void | addWorker (BWAPI::Unit *unit, WorkerJob job, BWAPI::Unit *jobUnit) |
| void | addWorker (BWAPI::Unit *unit, WorkerJob job, BWAPI::UnitType jobUnitType) |
| void | setWorkerJob (BWAPI::Unit *unit, WorkerJob job, BWAPI::Unit *jobUnit) |
| void | setWorkerJob (BWAPI::Unit *unit, WorkerJob job, WorkerMoveData wmd) |
| void | setWorkerJob (BWAPI::Unit *unit, WorkerJob job, BWAPI::UnitType jobUnitType) |
| int | getNumWorkers () |
| int | getNumMineralWorkers () |
| int | getNumGasWorkers () |
| int | getNumIdleWorkers () |
| char | getJobCode (BWAPI::Unit *unit) |
| void | getMineralWorkers (std::set< BWAPI::Unit * > &mw) |
| void | getGasWorkers (std::set< BWAPI::Unit * > &mw) |
| void | getBuildingWorkers (std::set< BWAPI::Unit * > &mw) |
| void | getRepairWorkers (std::set< BWAPI::Unit * > &mw) |
| bool | depotIsFull (BWAPI::Unit *depot) |
| int | getMineralsNearDepot (BWAPI::Unit *depot) |
| int | getNumAssignedWorkers (BWAPI::Unit *unit) |
| BWAPI::Unit * | getMineralToMine (BWAPI::Unit *worker) |
| enum WorkerJob | getWorkerJob (BWAPI::Unit *unit) |
| BWAPI::Unit * | getWorkerResource (BWAPI::Unit *unit) |
| BWAPI::Unit * | getWorkerDepot (BWAPI::Unit *unit) |
| BWAPI::Unit * | getWorkerRepairUnit (BWAPI::Unit *unit) |
| BWAPI::UnitType | getWorkerBuildingType (BWAPI::Unit *unit) |
| WorkerMoveData | getWorkerMoveData (BWAPI::Unit *unit) |
| void | drawDepotDebugInfo () |
| const std::set< BWAPI::Unit * > & | getWorkers () const |