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

Method getPlayer

bwapi/Shared/UnitShared.cpp:41–44  ·  view source on GitHub ↗

--------------------------------------------- GET PLAYER -------------------------------------------------

Source from the content-addressed store, hash-verified

39 }
40 //--------------------------------------------- GET PLAYER -------------------------------------------------
41 Player UnitImpl::getPlayer() const
42 {
43 return Broodwar->getPlayer(self->player);
44 }
45 //--------------------------------------------- GET TYPE ---------------------------------------------------
46 UnitType UnitImpl::getType() const
47 {

Callers 15

canMakeFunction · 0.45
canCommandFunction · 0.45
canResearchFunction · 0.45
canUpgradeFunction · 0.45
canGatherFunction · 0.45
canLoadFunction · 0.45
canRightClickUnitFunction · 0.45
canRightClickUnitGroupedFunction · 0.45
canUseTechUnitFunction · 0.45
isGatheringGasMethod · 0.45

Calls

no outgoing calls

Tested by 2

startMethod · 0.36
updateMethod · 0.36