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

Method isObserver

bwapi/Shared/PlayerShared.cpp:160–163  ·  view source on GitHub ↗

------------------------------------------------- OBSERVER -----------------------------------------------

Source from the content-addressed store, hash-verified

158 }
159 //------------------------------------------------- OBSERVER -----------------------------------------------
160 bool PlayerImpl::isObserver() const
161 {
162 return !self->isParticipating;
163 }
164 //------------------------------------------------ AVAILABILITY --------------------------------------------
165 int PlayerImpl::getMaxUpgradeLevel(UpgradeType upgrade) const
166 {

Callers 7

isAllyMethod · 0.95
isEnemyMethod · 0.95
updateMethod · 0.80
onGameStartMethod · 0.80
onMatchStartMethod · 0.80
onMatchFrameMethod · 0.80
onStartMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected