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.
- Listed in Global namespace: S
- Inherits or implements
Attribute - Attributes
Usage
Constructors
| Member | What it is |
|---|---|
SaveStructureAttribute(Type type, uint version) | Creates a SaveStructureAttribute from type and version. |
Properties
| Member | What it is |
|---|---|
Type Type { get; } | The component type this save data belongs to. |
uint Version { get; } | The save data version for that type. |