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

Method saveId

src/Savegame/Ufo.cpp:212–218  ·  view source on GitHub ↗

* Saves the UFO's unique identifiers to a YAML file. * @return YAML node. */

Source from the content-addressed store, hash-verified

210 * @return YAML node.
211 */
212YAML::Node Ufo::saveId() const
213{
214 YAML::Node node = MovingTarget::saveId();
215 node["type"] = "STR_UFO";
216 node["id"] = _id;
217 return node;
218}
219
220/**
221 * Returns the ruleset for the UFO's type.

Callers 2

saveMethod · 0.45
saveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected