Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ researchTime
Method
researchTime
bwapi/BWAPILIB/Source/TechType.cpp:240–243 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
238
return mineralPrice();
239
}
240
int TechType::researchTime() const
241
{
242
return defaultTimeCost[this->getID()];
243
}
244
int TechType::energyCost() const
245
{
246
return defaultEnergyCost[this->getID()];
Callers
4
writeTechInfo
Function · 0.80
start
Method · 0.80
update
Method · 0.80
execute
Method · 0.80
Calls
1
getID
Method · 0.45
Tested by
2
start
Method · 0.64
update
Method · 0.64