Skip to main content

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​

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

Fields​

MemberWhat it is
const int VersionFile format version, 1.
1 private and internal field
MemberWhat it is
private static Logger loggerNLog logger for this class.

Properties​

MemberWhat it is
int LastTeleporterDestinationIndex { get; set; }Index of the last teleporter destination, or -1 for none.

Methods​

MemberWhat 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.