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

Method AutoScreenshot_Cleanup

src/engine/client/client.cpp:3590–3602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3588}
3589
3590void CClient::AutoScreenshot_Cleanup()
3591{
3592 if(m_AutoScreenshotRecycle)
3593 {
3594 if(g_Config.m_ClAutoScreenshotMax)
3595 {
3596 // clean up auto taken screens
3597 CFileCollection AutoScreens;
3598 AutoScreens.Init(Storage(), "screenshots/auto", "autoscreen", ".png", g_Config.m_ClAutoScreenshotMax);
3599 }
3600 m_AutoScreenshotRecycle = false;
3601 }
3602}
3603
3604void CClient::AutoStatScreenshot_Cleanup()
3605{

Callers

nothing calls this directly

Calls 2

StorageFunction · 0.85
InitMethod · 0.45

Tested by

no test coverage detected