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

Method getAddon

bwapi/Shared/UnitShared.cpp:318–321  ·  view source on GitHub ↗

--------------------------------------------- GET ADDON --------------------------------------------------

Source from the content-addressed store, hash-verified

316 }
317 //--------------------------------------------- GET ADDON --------------------------------------------------
318 Unit UnitImpl::getAddon() const
319 {
320 return Broodwar->getUnit(self->addon);
321 }
322 //--------------------------------------------- GET NYDUS EXIT ---------------------------------------------
323 Unit UnitImpl::getNydusExit() const
324 {

Callers 9

canMakeFunction · 0.80
canBuildFunction · 0.80
canBuildAddonFunction · 0.80
canCancelAddonFunction · 0.80
augmentUnitDataMethod · 0.80
startMethod · 0.80
updateMethod · 0.80
startMethod · 0.80
updateMethod · 0.80

Calls 1

getUnitMethod · 0.45

Tested by 4

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