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

Method getType

bwapi/BWAPI/Source/BWAPI/PlayerImpl.cpp:60–63  ·  view source on GitHub ↗

--------------------------------------------- GET TYPE ---------------------------------------------------

Source from the content-addressed store, hash-verified

58 }
59 //--------------------------------------------- GET TYPE ---------------------------------------------------
60 BWAPI::PlayerType PlayerImpl::getType() const
61 {
62 return BWAPI::PlayerType((int)(BW::BWDATA::Players[index].nType));
63 }
64 //--------------------------------------------- GET FORCE --------------------------------------------------
65 Force PlayerImpl::getForce() const
66 {

Callers 10

onGameStartMethod · 0.45
SendClientEventMethod · 0.45
addMethod · 0.45
flushMethod · 0.45
executeCommandMethod · 0.45
addEventMethod · 0.45
onMatchStartMethod · 0.45
updateSharedMemoryMethod · 0.45
updateUnitsMethod · 0.45

Calls 1

PlayerTypeClass · 0.70

Tested by

no test coverage detected