IAltaFileFormat
An abstract class in Alta.IO, Alta.Utilities.
Base for a file format the game can read from and write to a stream, such as a save file's contents. Disposable.
- Listed in Other Alta assemblies
- Inherits or implements
IDisposable - Derived types
LandmarkSaveFormat,MapSaveFormat,BasicSaveFile<T>,CacheFileFormat,ChunkSaveFormat,JsonAltaFormat<T>,PlayerSave,TextFileFormat,ClimbingTowerTeleporterSaveData,PlayerGoldBankAccountData,PlayerPostboxStorageFileFormat
Constructors
| Member | What it is |
|---|---|
protected IAltaFileFormat() | Creates an IAltaFileFormat with default values. |
Properties
| Member | What it is |
|---|---|
bool IsDisposed { get; private set; } | Whether Dispose has been called. |
Methods
| Member | What it is |
|---|---|
abstract IAltaFileFormat Clone() | Returns a copy of the file's contents. |
virtual void Dispose() | Marks the object disposed. |
abstract void ReadFrom(FileInfo info, Stream stream) | Reads the contents from a stream, given the file it came from. |
abstract void WriteTo(Stream stream, CancellationToken token) | Writes the contents to a stream. |
Used in
Members of other types that take, return or hold a IAltaFileFormat:
LandmarkSaveFormat.Clone, MapSaveFormat.Clone, BasicSaveFile<T>.Clone, CacheFileFormat.Clone, AltaFile.content, AltaFile.Content, AltaFile.WritingTaskAsync, ChunkSaveFormat.Clone, DatabaseSettingsFile.Content, IAltaFile.Content, JsonAltaFormat<T>.Clone, PlayerSave.Clone, RemoteFiles.RemoteAltaFile<TFileType>.Content, TextFileFormat.Clone, ClimbingTowerTeleporterSaveData.Clone, PlayerGoldBankAccountData.Clone, PlayerPostboxStorageFileFormat.Clone.