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

Method whatUpgrades

bwapi/BWAPILIB/Source/UpgradeType.cpp:295–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 return defaultTimeCostFactor[this->getID()];
294 }
295 UnitType UpgradeType::whatUpgrades() const
296 {
297 return upgradeInternalWhat::whatUpgrades[this->getID()];
298 }
299 const UnitType::set& UpgradeType::whatUses() const
300 {
301 return upgradeInternalUsage::upgradeWhatUses[this->getID()];

Callers 4

canUpgradeFunction · 0.80
writeUpgradeInfoFunction · 0.80
UpgradeTestMethod · 0.80
CancelUpgradeTestMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by 2

UpgradeTestMethod · 0.64
CancelUpgradeTestMethod · 0.64