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

Method hasResearched

bwapi/Shared/PlayerShared.cpp:140–143  ·  view source on GitHub ↗

--------------------------------------------- HAS RESEARCHED ---------------------------------------------

Source from the content-addressed store, hash-verified

138 }
139 //--------------------------------------------- HAS RESEARCHED ---------------------------------------------
140 bool PlayerImpl::hasResearched(TechType tech) const
141 {
142 return tech.isValid() ? self->hasResearched[tech] : false;
143 }
144 //--------------------------------------------- IS RESEARCHING ---------------------------------------------
145 bool PlayerImpl::isResearching(TechType tech) const
146 {

Callers 8

canMakeFunction · 0.80
canResearchFunction · 0.80
CanUseTechMethod · 0.80
onStartMethod · 0.80
startMethod · 0.80
updateMethod · 0.80
stopMethod · 0.80

Calls 1

isValidMethod · 0.45

Tested by 4

onStartMethod · 0.64
startMethod · 0.64
updateMethod · 0.64
stopMethod · 0.64