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

Method AutoStatScreenshot_Cleanup

src/engine/client/client.cpp:3604–3616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3602}
3603
3604void CClient::AutoStatScreenshot_Cleanup()
3605{
3606 if(m_AutoStatScreenshotRecycle)
3607 {
3608 if(g_Config.m_ClAutoStatboardScreenshotMax)
3609 {
3610 // clean up auto taken screens
3611 CFileCollection AutoScreens;
3612 AutoScreens.Init(Storage(), "screenshots/auto/stats", "autoscreen", ".png", g_Config.m_ClAutoStatboardScreenshotMax);
3613 }
3614 m_AutoStatScreenshotRecycle = false;
3615 }
3616}
3617
3618void CClient::AutoCSV_Start()
3619{

Callers

nothing calls this directly

Calls 2

StorageFunction · 0.85
InitMethod · 0.45

Tested by

no test coverage detected