TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ SaveDatabase()

void ProjectManager::SaveDatabase ( )

Definition at line 77 of file ProjectData.cpp.

78{
79 if (!PathExist(GetResourcePath()))
80 {
81 MkDir(GetResourcePath());
82 }
83
84 SaveToFile(GetResourcePath() + PATH_SEPARATOR "project_database.terr3d", projectDatase.dump());
85}
string_t dump(const int indent=-1, const char indent_char=' ', const bool ensure_ascii=false, const error_handler_t error_handler=error_handler_t::strict) const
serialization
Definition: json.hpp:20117