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

Method isMultiplayer

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:516–519  ·  view source on GitHub ↗

-------------------------------------------- IS SINGLE PLAYER --------------------------------------------

Source from the content-addressed store, hash-verified

514 }
515 //-------------------------------------------- IS SINGLE PLAYER --------------------------------------------
516 bool GameImpl::isMultiplayer() const
517 {
518 return BW::BWDATA::NetMode != 0 && BW::BWDATA::NetMode != -1;
519 }
520 //--------------------------------------------- IS BATTLE NET ----------------------------------------------
521 bool GameImpl::isBattleNet() const
522 {

Callers 11

getLatencyMethod · 0.95
vSendTextExMethod · 0.95
restartGameMethod · 0.95
onStartMethod · 0.45
BWAPIExceptionFilterFunction · 0.45
onMatchStartMethod · 0.45
onStartMethod · 0.45
onStartMethod · 0.45
onStartMethod · 0.45
onFrameMethod · 0.45
onStartMethod · 0.45

Calls

no outgoing calls

Tested by 5

onStartMethod · 0.36
onStartMethod · 0.36
onStartMethod · 0.36
onFrameMethod · 0.36
onStartMethod · 0.36