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

Method gasPrice

bwapi/BWAPILIB/Source/UnitType.cpp:2236–2239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2234 return defaultOreCost[this->getID()];
2235 }
2236 int UnitType::gasPrice() const
2237 {
2238 return defaultGasCost[this->getID()];
2239 }
2240 int UnitType::buildTime() const
2241 {
2242 return defaultTimeCost[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