MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / CopyOriginalUserFilesOver

Method CopyOriginalUserFilesOver

src/openrct2/Context.cpp:1443–1447  ·  view source on GitHub ↗

* Copy saved games and landscapes to user directory */

Source from the content-addressed store, hash-verified

1441 * Copy saved games and landscapes to user directory
1442 */
1443 void CopyOriginalUserFilesOver()
1444 {
1445 CopyOriginalUserFilesOver(DirId::saves, "*.sv6");
1446 CopyOriginalUserFilesOver(DirId::landscapes, "*.sc6");
1447 }
1448
1449 void CopyOriginalUserFilesOver(DirId dirid, const std::string& pattern)
1450 {

Callers

nothing calls this directly

Calls 10

GetDirectoryFunction · 0.85
CreateDirectoryFunction · 0.85
WriteLineFunction · 0.85
ExistsFunction · 0.85
CopyFunction · 0.85
GetDirectoryPathMethod · 0.80
NextMethod · 0.80
GetPathRelativeMethod · 0.80
CombineFunction · 0.50
GetPathMethod · 0.45

Tested by

no test coverage detected