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

Method getRemainingLatencyTime

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:802–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800 return getLatencyFrames() - (this->getFrameCount() - lastTurnFrame);
801 }
802 int GameImpl::getRemainingLatencyTime() const
803 {
804 return (getLatencyFrames() * BW::BWDATA::GameSpeedModifiers.gameSpeedModifiers[BW::BWDATA::GameSpeed]) - (GetTickCount() - lastTurnTime);
805 }
806 //--------------------------------------------------- VERSION ----------------------------------------------
807 int GameImpl::getRevision() const
808 {

Callers 1

updateSharedMemoryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected