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

Method isBattleNet

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:521–524  ·  view source on GitHub ↗

--------------------------------------------- IS BATTLE NET ----------------------------------------------

Source from the content-addressed store, hash-verified

519 }
520 //--------------------------------------------- IS BATTLE NET ----------------------------------------------
521 bool GameImpl::isBattleNet() const
522 {
523 return BW::BWDATA::NetMode == 'BNET';
524 }
525 //----------------------------------------------- IS PAUSED ------------------------------------------------
526 bool GameImpl::isPaused() const
527 {

Callers 3

getLatencyMethod · 0.95
BWAPIExceptionFilterFunction · 0.45
onMatchStartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected