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::common::systems::loading::GoodLoader Class Reference

#include <loadgoods.h>

Inheritance diagram for cqsp::common::systems::loading::GoodLoader:
cqsp::common::systems::loading::HjsonLoader

Public Member Functions

 GoodLoader (Universe &universe)
 
const Hjson::Value & GetDefaultValues () override
 
bool LoadValue (const Hjson::Value &values, entt::entity entity) override
 
- Public Member Functions inherited from cqsp::common::systems::loading::HjsonLoader
 HjsonLoader (Universe &universe)
 
virtual ~HjsonLoader ()=default
 
int LoadHjson (const Hjson::Value &values)
 
virtual void PostLoad (const entt::entity &entity)
 

Private Attributes

Hjson::Value default_val
 

Additional Inherited Members

- Protected Attributes inherited from cqsp::common::systems::loading::HjsonLoader
Universeuniverse
 

Constructor & Destructor Documentation

◆ GoodLoader()

cqsp::common::systems::loading::GoodLoader::GoodLoader ( Universe universe)
explicit

Member Function Documentation

◆ GetDefaultValues()

const Hjson::Value & cqsp::common::systems::loading::GoodLoader::GetDefaultValues ( )
inlineoverridevirtual

◆ LoadValue()

bool cqsp::common::systems::loading::GoodLoader::LoadValue ( const Hjson::Value &  values,
entt::entity  entity 
)
overridevirtual

Member Data Documentation

◆ default_val

Hjson::Value cqsp::common::systems::loading::GoodLoader::default_val
private

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