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

Method canUseTechUnit

bwapi/Shared/UnitShared.cpp:1049–1052  ·  view source on GitHub ↗

--------------------------------------------- CAN USE TECH UNIT ------------------------------------------

Source from the content-addressed store, hash-verified

1047 }
1048 //--------------------------------------------- CAN USE TECH UNIT ------------------------------------------
1049 bool UnitImpl::canUseTechUnit(BWAPI::TechType tech, bool checkCanIssueCommandType, bool checkCommandibility) const
1050 {
1051 return Templates::canUseTechUnit(const_cast<UnitImpl*>(this), tech, checkCanIssueCommandType, checkCommandibility);
1052 }
1053 bool UnitImpl::canUseTechUnit(BWAPI::TechType tech, Unit targetUnit, bool checkCanTargetUnit, bool checkTargetsUnits, bool checkCanIssueCommandType, bool checkCommandibility) const
1054 {
1055 return Templates::canUseTechUnit(const_cast<UnitImpl*>(this), tech, targetUnit, checkCanTargetUnit, checkTargetsUnits, checkCanIssueCommandType, checkCommandibility);

Callers

nothing calls this directly

Calls 1

canUseTechUnitFunction · 0.85

Tested by

no test coverage detected