PlayerPostboxStorageFileFormat
A class in Root.Township, the global namespace.
Server: file format for one player's postbox storage: a list of saved object versions, in the same layout as chunk saves.
- Listed in Global namespace: P
- Inherits or implements
IAltaFileFormat - Derived types
PlayerPostboxStorage,PostboxManager
Constructors
| Member | What it is |
|---|---|
PlayerPostboxStorageFileFormat() | Creates a PlayerPostboxStorageFileFormat with default values. |
Fields
| Member | What it is |
|---|---|
List<ChunkSaveFormat.Version> Versions | The saved object versions held for the player. |
Methods
| Member | What it is |
|---|---|
override IAltaFileFormat Clone() | Makes a copy with new version lists holding the same saved objects. |
override void ReadFrom(FileInfo info, Stream stream) | Loads the versions from a file, skipping empty ones. A file of one byte or less loads as empty. |
override void WriteTo(Stream stream, CancellationToken token) | Writes the versions to a stream. Writes nothing if there are none. |
Used in
Members of other types that take, return or hold a PlayerPostboxStorageFileFormat: