MCPcopy Create free account
hub / github.com/ddnet/ddnet / StopDemos

Method StopDemos

src/engine/server/server.cpp:3910–3919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3908}
3909
3910void CServer::StopDemos()
3911{
3912 for(int i = 0; i < NUM_RECORDERS; i++)
3913 {
3914 if(!m_aDemoRecorder[i].IsRecording())
3915 continue;
3916
3917 m_aDemoRecorder[i].Stop(i < MAX_CLIENTS ? IDemoRecorder::EStopMode::REMOVE_FILE : IDemoRecorder::EStopMode::KEEP_FILE);
3918 }
3919}
3920
3921void CServer::ConRecord(IConsole::IResult *pResult, void *pUser)
3922{

Callers 1

OnShutdownMethod · 0.80

Calls 2

IsRecordingMethod · 0.45
StopMethod · 0.45

Tested by

no test coverage detected