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.
- Listed in World, chunks and saving
- Inherits or implements
IAltaFileFormat
Constructors
| Member | What it is |
|---|---|
LandmarkSaveFormat() | Creates a LandmarkSaveFormat with default values. |
Fields
Properties
| Member | What it is |
|---|---|
Dictionary<uint, bool> LandmarkDiscovery { get; } | Discovery state by landmark index. |
Methods
| Member | What 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: