MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / CopySaveFile

Function CopySaveFile

Source/pfile.cpp:164–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162
163#ifndef DISABLE_DEMOMODE
164void CopySaveFile(uint32_t saveNum, std::string targetPath)
165{
166 const std::string savePath = GetSavePath(saveNum);
167 CopyFileOverwrite(savePath.c_str(), targetPath.c_str());
168}
169#endif
170
171void Game2UiPlayer(const Player &player, _uiheroinfo *heroinfo, bool bHasSaveFile)

Callers 2

pfile_write_hero_demoFunction · 0.85
pfile_compare_hero_demoFunction · 0.85

Calls 2

GetSavePathFunction · 0.85
CopyFileOverwriteFunction · 0.85

Tested by

no test coverage detected