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

Method isFlyer

bwapi/BWAPILIB/Source/UnitType.cpp:2372–2375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2370 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::AutoAttackAndMove);
2371 }
2372 bool UnitType::isFlyer() const
2373 {
2374 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Flyer);
2375 }
2376 bool UnitType::regeneratesHP() const
2377 {
2378 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::RegeneratesHP);

Callers 5

canLoadFunction · 0.80
canUseTechUnitFunction · 0.80
getDamageFromImplFunction · 0.80
isFlyingMethod · 0.80
Filters.cppFile · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected