Skip to main content

LandmarkSaveFormat

A class in Root.Township, Alta.Map.

Per-player save file of which landmarks the player knows: true for discovered, false for only aware.

Constructors​

MemberWhat it is
LandmarkSaveFormat()Creates a LandmarkSaveFormat with default values.

Fields​

1 private and internal field
MemberWhat it is
private const uint VersionFile format version, 0.

Properties​

MemberWhat it is
Dictionary<uint, bool> LandmarkDiscovery { get; }Discovery state by landmark index.

Methods​

MemberWhat it is
override IAltaFileFormat Clone()Returns a copy with the same discovery entries.
override void ReadFrom(FileInfo info, Stream stream)Reads the version and the index and state pairs from a stream.
void WipeNonReserved(uint startingIndex)Removes every entry with an index at or above the given one.
override void WriteTo(Stream stream, CancellationToken token)Writes the version and every index and state pair to a stream.

Used in​

Members of other types that take, return or hold a LandmarkSaveFormat: