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

Method save

src/Savegame/Waypoint.cpp:54–59  ·  view source on GitHub ↗

* Saves the waypoint to a YAML file. * @return YAML node. */

Source from the content-addressed store, hash-verified

52 * @return YAML node.
53 */
54YAML::Node Waypoint::save() const
55{
56 YAML::Node node = Target::save();
57 node["id"] = _id;
58 return node;
59}
60
61/**
62 * Saves the waypoint's unique identifiers to a YAML file.

Callers

nothing calls this directly

Calls 1

saveFunction · 0.85

Tested by

no test coverage detected