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

Method getUpgrade

bwapi/Shared/UnitShared.cpp:248–251  ·  view source on GitHub ↗

--------------------------------------------- GET UPGRADE ------------------------------------------------

Source from the content-addressed store, hash-verified

246 }
247 //--------------------------------------------- GET UPGRADE ------------------------------------------------
248 UpgradeType UnitImpl::getUpgrade() const
249 {
250 return UpgradeType(self->upgrade);
251 }
252 //--------------------------------------------- GET REMAINING BUILD TIME -----------------------------------
253 int UnitImpl::getRemainingBuildTime() const
254 {

Callers 9

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

Calls 1

UpgradeTypeClass · 0.50

Tested by 9

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