Skip to main content

SaveStructureAttribute

A class in Root.Township, the global namespace.

Marks a save data class with the component type it saves and its version number. Old versions migrate to newer ones. A class can carry several.

Constructors​

MemberWhat it is
SaveStructureAttribute(Type type, uint version)Creates a SaveStructureAttribute from type and version.

Properties​

MemberWhat it is
Type Type { get; }The component type this save data belongs to.
uint Version { get; }The save data version for that type.