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

Method canResearch

bwapi/Shared/UnitShared.cpp:744–747  ·  view source on GitHub ↗

--------------------------------------------- CAN RESEARCH -----------------------------------------------

Source from the content-addressed store, hash-verified

742 }
743 //--------------------------------------------- CAN RESEARCH -----------------------------------------------
744 bool UnitImpl::canResearch(bool checkCommandibility) const
745 {
746 return Templates::canResearch(const_cast<UnitImpl*>(this), checkCommandibility);
747 }
748 bool UnitImpl::canResearch(TechType type, bool checkCanIssueCommandType) const
749 {
750 return Templates::canResearch(const_cast<UnitImpl*>(this), type, checkCanIssueCommandType);

Callers 2

canIssueCommandFunction · 0.45
onStartMethod · 0.45

Calls 1

canResearchFunction · 0.85

Tested by 1

onStartMethod · 0.36