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

Method DemoSlice

src/engine/client/client.cpp:3921–3927  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3919}
3920
3921void CClient::DemoSlice(const char *pDstPath, CLIENTFUNC_FILTER pfnFilter, void *pUser)
3922{
3923 if(m_DemoPlayer.IsPlaying())
3924 {
3925 m_DemoEditor.Slice(m_DemoPlayer.Filename(), pDstPath, g_Config.m_ClDemoSliceBegin, g_Config.m_ClDemoSliceEnd, pfnFilter, pUser);
3926 }
3927}
3928
3929const char *CClient::DemoPlayer_Play(const char *pFilename, int StorageType)
3930{

Callers 1

Calls 3

SliceMethod · 0.80
IsPlayingMethod · 0.45
FilenameMethod · 0.45

Tested by

no test coverage detected