Table of Contents

Class TimbnSaveData<T>

Namespace
Timbn.GraveyardKeeperTwo.Core.Framework
Assembly
Timbn.GraveyardKeeperTwo.Core.dll

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

T

The plugin's save data type.

Inheritance
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; }

Property Value

string