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

Method maxRepeats

bwapi/BWAPILIB/Source/UpgradeType.cpp:303–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 return upgradeInternalUsage::upgradeWhatUses[this->getID()];
302 }
303 int UpgradeType::maxRepeats() const
304 {
305 return defaultMaxRepeats[this->getID()];
306 }
307 UnitType UpgradeType::whatsRequired(int level) const
308 {
309 if ( level >= 1 && level <= 3)

Callers 1

writeUpgradeInfoFunction · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected