ClimbingTowerTeleporterSaveData
A class in Root.Township, Features.Gameplay.ClimbingTower.
Per-player binary save holding the last climbing tower teleporter destination. Unused elsewhere in this build.
Constructors
Fields
| Member | What it is |
|---|
const int Version | File format version, 1. |
1 private and internal field
| Member | What it is |
|---|
private static Logger logger | NLog logger for this class. |
Properties
| Member | What it is |
|---|
int LastTeleporterDestinationIndex { get; set; } | Index of the last teleporter destination, or -1 for none. |
Methods
| Member | What it is |
|---|
override IAltaFileFormat Clone() | Returns a copy with the same destination index. |
override void ReadFrom(FileInfo info, Stream stream) | Reads the version and index, warning if the version is not 1. |
override void WriteTo(Stream stream, CancellationToken token) | Writes the version then the index. |