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

Method getGameType

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:82–87  ·  view source on GitHub ↗

--------------------------------------------- GET GAME TYPE ----------------------------------------------

Source from the content-addressed store, hash-verified

80 }
81 //--------------------------------------------- GET GAME TYPE ----------------------------------------------
82 GameType GameImpl::getGameType() const
83 {
84 if (isReplay())
85 return GameTypes::None;
86 return GameType(BW::BWDATA::gameType);
87 }
88 //---------------------------------------------- GET LATENCY -----------------------------------------------
89 int GameImpl::getLatency() const
90 {

Callers 3

onGameStartMethod · 0.95
updateSharedMemoryMethod · 0.45
newAIModuleFunction · 0.45

Calls 1

GameTypeClass · 0.50

Tested by

no test coverage detected