Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
canMake
Function · 0.45
canResearch
Function · 0.45
canUpgrade
Function · 0.45
writeTechInfo
Function · 0.45
writeUnitInfo
Function · 0.45
writeUpgradeInfo
Function · 0.45
Filters.cpp
File · 0.45
start
Method · 0.45
start
Method · 0.45
start
Method · 0.45
update
Method · 0.45
start
Method · 0.45
Calls
1
getID
Method · 0.45
Tested by
8
start
Method · 0.36
start
Method · 0.36
start
Method · 0.36
update
Method · 0.36
start
Method · 0.36
start
Method · 0.36
start
Method · 0.36
start
Method · 0.36