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

Method getBuildUnit

bwapi/Shared/UnitShared.cpp:273–276  ·  view source on GitHub ↗

--------------------------------------------- GET BUILD UNIT ---------------------------------------------

Source from the content-addressed store, hash-verified

271 }
272 //--------------------------------------------- GET BUILD UNIT ---------------------------------------------
273 Unit UnitImpl::getBuildUnit() const
274 {
275 return Broodwar->getUnit(self->buildUnit);
276 }
277 //--------------------------------------------- GET TARGET -------------------------------------------------
278 Unit UnitImpl::getTarget() const
279 {

Callers 6

isBeingConstructedMethod · 0.80
updateMethod · 0.80
startMethod · 0.80
updateMethod · 0.80
stopMethod · 0.80
updateMethod · 0.80

Calls 1

getUnitMethod · 0.45

Tested by 5

updateMethod · 0.64
startMethod · 0.64
updateMethod · 0.64
stopMethod · 0.64
updateMethod · 0.64