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

Method whatUses

bwapi/BWAPILIB/Source/WeaponType.cpp:525–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523 return wpnInternalTechs::attachedTech[this->getID()];
524 }
525 UnitType WeaponType::whatUses() const
526 {
527 return wpnInternalWhatUses::whatUses[this->getID()];
528 }
529 int WeaponType::damageAmount() const
530 {
531 return defaultWpnDamageAmt[this->getID()];

Callers 6

updateDataMethod · 0.80
writeTechInfoFunction · 0.80
writeWeaponInfoFunction · 0.80
writeUpgradeInfoFunction · 0.80
UseTechTestMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by 1

UseTechTestMethod · 0.64