MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GetVideoTick

Method GetVideoTick

Source/GameData.cpp:213–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213bool sGameRecorded::GetVideoTick(const uint64 pTick) {
214 std::lock_guard<std::mutex> lock(mLockMtx);
215
216 return std::binary_search(mVideoTicks.begin(), mVideoTicks.end(), pTick);
217}
218
219void sGameRecorded::DisableTicks() {
220 // Version 1 Demos didnt stop ticks

Callers 1

Phase_CycleMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected