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

Method getRace

bwapi/BWAPILIB/Source/UnitType.cpp:2066–2069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2064 }
2065
2066 Race UnitType::getRace() const
2067 {
2068 return unitRaces::unitRace[this->getID()];
2069 }
2070 const std::pair<UnitType, int> UnitType::whatBuilds() const
2071 {
2072 // Retrieve the type

Callers 15

isNeutralMethod · 0.95
canBuildHereFunction · 0.45
canMakeFunction · 0.45
canRepairFunction · 0.45
canLoadFunction · 0.45
canUseTechUnitFunction · 0.45
isBeingHealedMethod · 0.45
onStartMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
writeTechInfoFunction · 0.45
writeUnitInfoFunction · 0.45

Calls 1

getIDMethod · 0.45

Tested by 7

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