MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / load

Method load

src/Savegame/Waypoint.cpp:44–48  ·  view source on GitHub ↗

* Loads the waypoint from a YAML file. * @param node YAML node. */

Source from the content-addressed store, hash-verified

42 * @param node YAML node.
43 */
44void Waypoint::load(const YAML::Node &node)
45{
46 Target::load(node);
47 _id = node["id"].as<int>(_id);
48}
49
50/**
51 * Saves the waypoint to a YAML file.

Callers

nothing calls this directly

Calls 1

loadFunction · 0.85

Tested by

no test coverage detected