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

Method mineralPrice

bwapi/BWAPILIB/Source/UnitType.cpp:2232–2235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2230 return defaultArmorAmount[this->getID()];
2231 }
2232 int UnitType::mineralPrice() const
2233 {
2234 return defaultOreCost[this->getID()];
2235 }
2236 int UnitType::gasPrice() const
2237 {
2238 return defaultGasCost[this->getID()];

Callers 15

canMakeFunction · 0.45
canResearchFunction · 0.45
canUpgradeFunction · 0.45
writeTechInfoFunction · 0.45
writeUnitInfoFunction · 0.45
writeUpgradeInfoFunction · 0.45
Filters.cppFile · 0.45
startMethod · 0.45
startMethod · 0.45
startMethod · 0.45
updateMethod · 0.45
startMethod · 0.45

Calls 1

getIDMethod · 0.45

Tested by 8

startMethod · 0.36
startMethod · 0.36
startMethod · 0.36
updateMethod · 0.36
startMethod · 0.36
startMethod · 0.36
startMethod · 0.36
startMethod · 0.36