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

Method setRevealAll

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:899–905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897 this->lastEventTime = lastEventTime;
898 }
899 bool GameImpl::setRevealAll(bool reveal)
900 {
901 if ( !isReplay() )
902 return this->setLastError(Errors::Invalid_Parameter);
903 BW::BWDATA::ReplayRevealAll = reveal ? 1 : 0;
904 return this->setLastError();
905 }
906 //-------------------------------------------------- GET RANDOM SEED ---------------------------------------
907 unsigned GameImpl::getRandomSeed() const
908 {

Callers 1

processCommandsMethod · 0.45

Calls 1

setLastErrorMethod · 0.95

Tested by

no test coverage detected