33bool LoadName(
const Node& node,
const Hjson::Value& value);
36bool LoadTags(
const Node& node,
const Hjson::Value& value);
44components::ResourceMap
HjsonToLedger(Universe&,
const Hjson::Value&);
46components::ResourceVector
HjsonToVector(Universe&,
const Hjson::Value&);
53bool VerifyInitialValues(
const Hjson::Value& value,
const std::map<std::string, Hjson::Type>& map);
UnitType
Definition: units.h:22
Definition: economyloader.cpp:24
components::ResourceVector HjsonToVector(Universe &universe, const Hjson::Value &hjson)
Definition: loadutil.cpp:101
bool VerifyHjsonValueExists(const Hjson::Value &value, const std::string &name, Hjson::Type type)
Definition: loadutil.cpp:115
bool LoadIdentifier(const Node &node, const Hjson::Value &value)
Definition: loadutil.cpp:41
double ReadUnit(std::string_view value, UnitType unit_type, bool *correct)
Definition: loadutil.cpp:139
bool VerifyInitialValues(const Hjson::Value &value, const std::map< std::string, Hjson::Type > &map)
For the values that need to exist
Definition: loadutil.cpp:119
bool LoadName(const Node &node, const Hjson::Value &value)
Returns true if name exists
Definition: loadutil.cpp:31
components::ResourceMap HjsonToLedger(Universe &universe, const Hjson::Value &hjson)
Definition: loadutil.cpp:88
bool LoadTags(const Node &node, const Hjson::Value &value)
Definition: loadutil.cpp:61
bool LoadDescription(const Node &node, const Hjson::Value &value)
Definition: loadutil.cpp:51
bool LoadInitialValues(const Node &node, 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