MCPcopy Create free account
hub / github.com/bwapi/bwapi / getOrderTarget

Method getOrderTarget

bwapi/Shared/UnitShared.cpp:293–296  ·  view source on GitHub ↗

--------------------------------------------- GET ORDER TARGET -------------------------------------------

Source from the content-addressed store, hash-verified

291 }
292 //--------------------------------------------- GET ORDER TARGET -------------------------------------------
293 Unit UnitImpl::getOrderTarget() const
294 {
295 return Broodwar->getUnit(self->orderTarget);
296 }
297 //--------------------------------------------- GET ORDER TARGET POSITION ----------------------------------
298 Position UnitImpl::getOrderTargetPosition() const
299 {

Callers 7

Military.cppFile · 0.80
HasEnemyTargetMethod · 0.80
Filters.cppFile · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80

Calls 1

getUnitMethod · 0.45

Tested by 4

updateMethod · 0.64
updateMethod · 0.64
updateMethod · 0.64
updateMethod · 0.64