TerraForge3D  2.3.1
3D Terrain And Landscape Generator
Serializer Class Reference

Public Member Functions

 Serializer (ApplicationState *state)
 
 Serializer (ApplicationState *state, std::function< void(std::string, bool)> errorFunc)
 
nlohmann::json Serialize ()
 
void PackProject (std::string path)
 
void LoadPackedProject (std::string path)
 
void SaveFile (std::string path)
 
void LoadFile (std::string path)
 
ApplicationStateDeserialize (nlohmann::json data)
 

Private Attributes

nlohmann::json data
 
std::function< void(std::string, bool)> onError
 
ApplicationStateappState
 

Detailed Description

Definition at line 9 of file Serializer.h.


The documentation for this class was generated from the following files: