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

Method canUseTechWithOrWithoutTarget

bwapi/Shared/UnitShared.cpp:1028–1031  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1026 }
1027 //--------------------------------------------- CAN USE TECH -----------------------------------------------
1028 bool UnitImpl::canUseTechWithOrWithoutTarget(bool checkCommandibility) const
1029 {
1030 return Templates::canUseTechWithOrWithoutTarget(const_cast<UnitImpl*>(this), checkCommandibility);
1031 }
1032 bool UnitImpl::canUseTechWithOrWithoutTarget(BWAPI::TechType tech, bool checkCanIssueCommandType, bool checkCommandibility) const
1033 {
1034 return Templates::canUseTechWithOrWithoutTarget(const_cast<UnitImpl*>(this), tech, checkCanIssueCommandType, checkCommandibility);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected