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

Method canUseTechWithoutTarget

bwapi/Shared/UnitShared.cpp:1044–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1042 return Templates::canUseTech(const_cast<UnitImpl*>(this), tech, target, checkCanTargetUnit, checkTargetsType, checkCanIssueCommandType, checkCommandibility);
1043 }
1044 bool UnitImpl::canUseTechWithoutTarget(BWAPI::TechType tech, bool checkCanIssueCommandType, bool checkCommandibility) const
1045 {
1046 return Templates::canUseTechWithoutTarget(const_cast<UnitImpl*>(this), tech, checkCanIssueCommandType, checkCommandibility);
1047 }
1048 //--------------------------------------------- CAN USE TECH UNIT ------------------------------------------
1049 bool UnitImpl::canUseTechUnit(BWAPI::TechType tech, bool checkCanIssueCommandType, bool checkCommandibility) const
1050 {

Callers

nothing calls this directly

Calls 1

canUseTechWithoutTargetFunction · 0.85

Tested by

no test coverage detected