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 | Protected Attributes | List of all members
cqsp::common::systems::loading::HjsonLoader Class Referenceabstract

#include <hjsonloader.h>

Inheritance diagram for cqsp::common::systems::loading::HjsonLoader:
cqsp::common::systems::loading::CityLoader cqsp::common::systems::loading::CountryLoader cqsp::common::systems::loading::GoodLoader cqsp::common::systems::loading::PlanetLoader cqsp::common::systems::loading::RecipeLoader cqsp::common::systems::loading::TimezoneLoader

Public Member Functions

 HjsonLoader (Universe &universe)
 
virtual ~HjsonLoader ()=default
 
virtual const Hjson::Value & GetDefaultValues ()=0
 
int LoadHjson (const Hjson::Value &values)
 
virtual bool LoadValue (const Hjson::Value &values, entt::entity entity)=0
 
virtual void PostLoad (const entt::entity &entity)
 

Protected Attributes

Universeuniverse
 

Constructor & Destructor Documentation

◆ HjsonLoader()

cqsp::common::systems::loading::HjsonLoader::HjsonLoader ( Universe universe)
inlineexplicit

◆ ~HjsonLoader()

virtual cqsp::common::systems::loading::HjsonLoader::~HjsonLoader ( )
virtualdefault

Member Function Documentation

◆ GetDefaultValues()

virtual const Hjson::Value & cqsp::common::systems::loading::HjsonLoader::GetDefaultValues ( )
pure virtual

◆ LoadHjson()

int cqsp::common::systems::loading::HjsonLoader::LoadHjson ( const Hjson::Value &  values)

◆ LoadValue()

virtual bool cqsp::common::systems::loading::HjsonLoader::LoadValue ( const Hjson::Value &  values,
entt::entity  entity 
)
pure virtual

◆ PostLoad()

virtual void cqsp::common::systems::loading::HjsonLoader::PostLoad ( const entt::entity &  entity)
inlinevirtual

Member Data Documentation

◆ universe

Universe& cqsp::common::systems::loading::HjsonLoader::universe
protected

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