Interface IHasModSaveData
Takes part of load/save logic.
Namespace: DaggerfallWorkshop.Game.Utility.ModSupport
Assembly: Assembly-CSharp.dll
Syntax
public interface IHasModSaveData
Properties
| Improve this Doc View SourceSaveDataType
The type of a custom class that holds save data and optionally use FullSerializer.fsObjectAttribute for versioning.
Declaration
Type SaveDataType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
| Improve this Doc View SourceGetSaveData()
Makes a new instance of SaveDataType for the current state or null if there is nothing to save.
Declaration
object GetSaveData()
Returns
Type | Description |
---|---|
Object |
NewSaveData()
Makes a new instance of SaveDataType with default values.
Declaration
object NewSaveData()
Returns
Type | Description |
---|---|
Object |
RestoreSaveData(Object)
Restores retrieved data when a save is loaded.
Declaration
void RestoreSaveData(object saveData)
Parameters
Type | Name | Description |
---|---|---|
Object | saveData | An instance of SaveDataType. |