IPerPlayerContent<TSaveFormat>
An interface in Root.Township, the global namespace.
Server: data kept for one player and saved to its own file, managed by a PerPlayerManager.
- Listed in Global namespace: I to L
- Derived types
PerPlayerContent<TSaveFormat>
Properties
| Member | What it is |
|---|---|
IPlayer TargetPlayer { get; } | The player this content belongs to. |
Methods
| Member | What it is |
|---|---|
Task LoadAsync(int playerIdentifier, IAltaFile file, IPlayer currentPlayer = null) | Loads the content for a player from the given file. |
void Save(bool isUnloading) | Saves the content; the flag says it is being unloaded. |