Class TimbnData<T>
A plugin's own data object that Core reads from and writes to disk. TimbnSaveData<T> belongs to a save and TimbnGlobalData<T> to the player, and both hand out the data through Current.
public abstract class TimbnData<T> where T : class, new()
Type Parameters
TThe plugin's data type. It needs a public constructor with no parameters.
- Inheritance
-
TimbnData<T>
- Derived
- Inherited Members
Properties
Current
The data. Change it freely, Core writes it to disk on the moments the derived type lists.
public T Current { get; }
Property Value
- T