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

Method upgradeType

bwapi/BWAPILIB/Source/WeaponType.cpp:545–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543 return wpnDamageFactor[this->getID()];
544 }
545 UpgradeType WeaponType::upgradeType() const
546 {
547 return wpnInternalUpgrades::upgrade[this->getID()];
548 }
549 DamageType WeaponType::damageType() const
550 {
551 return wpnInternalDamageType::damageType[this->getID()];

Callers 2

writeWeaponInfoFunction · 0.80
damageMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected