Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Private Attributes | List of all members
cqsp::core::loading::ProjectLoader Class Reference

#include <projectloader.h>

Inheritance diagram for cqsp::core::loading::ProjectLoader:
cqsp::core::loading::HjsonLoader

Public Member Functions

 ProjectLoader (Universe &universe)
 
const Hjson::Value & GetDefaultValues () override
 
bool LoadValue (const Hjson::Value &values, Node &node) override
 
void PostLoad (const Node &node) override
 
- Public Member Functions inherited from cqsp::core::loading::HjsonLoader
 HjsonLoader (Universe &universe)
 
virtual ~HjsonLoader ()=default
 
int LoadHjson (const Hjson::Value &values)
 
virtual bool NeedIdentifier ()
 

Private Attributes

Hjson::Value default_val
 

Additional Inherited Members

- Protected Member Functions inherited from cqsp::core::loading::HjsonLoader
glm::vec3 LoadColor (const Hjson::Value &value, std::string_view identifier)
 
glm::vec3 LoadColor (const Hjson::Value &value)
 
uint32_t StringHash (std::string_view)
 
- Protected Attributes inherited from cqsp::core::loading::HjsonLoader
Universe & universe
 

Constructor & Destructor Documentation

◆ ProjectLoader()

cqsp::core::loading::ProjectLoader::ProjectLoader ( Universe &  universe)
inlineexplicit

Member Function Documentation

◆ GetDefaultValues()

const Hjson::Value & cqsp::core::loading::ProjectLoader::GetDefaultValues ( )
inlineoverridevirtual

◆ LoadValue()

bool cqsp::core::loading::ProjectLoader::LoadValue ( const Hjson::Value &  values,
Node &  node 
)
overridevirtual

◆ PostLoad()

void cqsp::core::loading::ProjectLoader::PostLoad ( const Node &  node)
overridevirtual

Reimplemented from cqsp::core::loading::HjsonLoader.

Member Data Documentation

◆ default_val

Hjson::Value cqsp::core::loading::ProjectLoader::default_val
private

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