Class TimbnSaveData<T>
Holds a plugin's own data for the loaded save. Core fills Current when a save loads and writes it to disk each time the game saves, so the plugin only reads and changes it. Get one from Saves.Register.
public sealed class TimbnSaveData<T> : TimbnData<T> where T : class, new()
Type Parameters
TThe plugin's save data type.
- Inheritance
-
TimbnData<T>TimbnSaveData<T>
- Inherited Members
Properties
FilePath
The file the data is kept in next to the loaded save, or null at the main menu. Every Timbn plugin shares it, so it holds other plugins' sections too.
public string? FilePath { get; }