MCPcopy Create free account
hub / github.com/Jaysmito101/TerraForge3D / SaveProjectDatabase

Function SaveProjectDatabase

src/ProjectData.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void SaveProjectDatabase()
40{
41 if (!PathExist(GetProjectResourcePath()))
42 MkDir(GetProjectResourcePath());
43 SaveToFile(GetProjectResourcePath() + "\\project_database.terr3d", projectDatase.dump());
44}
45
46std::string GetProjectResourcePath() {
47 return GetExecutableDir() + "\\Data\\cache\\project_data\\project_" + GetProjectId();

Callers 2

SaveFileFunction · 0.85
ShowFoliageManagerFunction · 0.85

Calls 5

PathExistFunction · 0.85
GetProjectResourcePathFunction · 0.85
MkDirFunction · 0.85
SaveToFileFunction · 0.85
dumpMethod · 0.80

Tested by

no test coverage detected