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

Method getTech

bwapi/Shared/UnitShared.cpp:243–246  ·  view source on GitHub ↗

--------------------------------------------- GET TECH ---------------------------------------------------

Source from the content-addressed store, hash-verified

241 }
242 //--------------------------------------------- GET TECH ---------------------------------------------------
243 TechType UnitImpl::getTech() const
244 {
245 return TechType(self->tech);
246 }
247 //--------------------------------------------- GET UPGRADE ------------------------------------------------
248 UpgradeType UnitImpl::getUpgrade() const
249 {

Callers 10

writeWeaponInfoFunction · 0.45
startMethod · 0.45
updateMethod · 0.45
stopMethod · 0.45
startMethod · 0.45
updateMethod · 0.45
stopMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45

Calls 1

TechTypeClass · 0.50

Tested by 9

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