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

Method GetTotalTicks

Source/GameData.cpp:146–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146uint64 sGameRecorded::GetTotalTicks() {
147 std::lock_guard<std::mutex> lock(mLockMtx);
148
149 if (!mState.size())
150 return 0;
151
152 return mState.rbegin()->first;
153}
154
155void sGameRecorded::removeFrom(const uint64 pTicks) {
156 std::lock_guard<std::mutex> lock(mLockMtx);

Callers 1

Mouse_Inputs_GetMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected