Show / Hide Table of Contents

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 Source

SaveDataType

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 Source

GetSaveData()

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
| Improve this Doc View Source

NewSaveData()

Makes a new instance of SaveDataType with default values.

Declaration
object NewSaveData()
Returns
Type Description
Object
| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX