33bool LoadName(Universe&
universe,
const entt::entity& entity,
const Hjson::Value& value);
36bool LoadTags(Universe&
universe,
const entt::entity& entity,
const Hjson::Value& value);
44components::ResourceLedger
HjsonToLedger(Universe&, Hjson::Value&);
51bool VerifyInitialValues(
const Hjson::Value& value,
const std::map<std::string, Hjson::Type>& map);
UnitType
Definition: units.h:22
Definition: fields.cpp:36
bool LoadTags(Universe &universe, const entt::entity &entity, const Hjson::Value &value)
Definition: loadutil.cpp:61
bool VerifyInitialValues(const Hjson::Value &value, const std::map< std::string, Hjson::Type > &map)
For the values that need to exist
Definition: loadutil.cpp:105
bool LoadDescription(Universe &universe, const entt::entity &entity, const Hjson::Value &value)
Definition: loadutil.cpp:51
bool LoadIdentifier(Universe &universe, const entt::entity &entity, const Hjson::Value &value)
Definition: loadutil.cpp:41
double ReadUnit(std::string_view value, UnitType unit_type, bool *correct)
Definition: loadutil.cpp:125
bool LoadInitialValues(Universe &universe, const entt::entity &entity, const Hjson::Value &value)
Loads all the values that should be on every single data type Returns true if an identifier exists
Definition: loadutil.cpp:81
bool VerifyHjsonValueExists(const Hjson::Value &value, const std::string &name, Hjson::Type type)
Definition: loadutil.cpp:101
bool LoadName(Universe &universe, const entt::entity &entity, const Hjson::Value &value)
Returns true if name exists
Definition: loadutil.cpp:31
components::ResourceLedger HjsonToLedger(Universe &universe, Hjson::Value &hjson)
Definition: loadutil.cpp:88
common::Universe * universe
Definition: turnsavewindow.h:3