DocFX + Singulink = ♥

Class SaveDataExtension

Extensions to generate the SlugBaseSaveData helper from the game's save data.

Inheritance
object
SaveDataExtension
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SlugBase.SaveData
Assembly: SlugBase.dll
Syntax
public static class SaveDataExtension

Methods

View Source

GetSlugBaseData(DeathPersistentSaveData)

Gets a SlugBaseSaveData from the game's DeathPersistentSaveData.

Declaration
public static SlugBaseSaveData GetSlugBaseData(this DeathPersistentSaveData data)
Parameters
Type Name Description
DeathPersistentSaveData data

The DeathPersistentSaveData instance.

Returns
Type Description
SlugBaseSaveData

A SlugBaseSaveData bound to the DeathPersistentSaveData.

View Source

GetSlugBaseData(MiscWorldSaveData)

Gets a SlugBaseSaveData from the game's MiscWorldSaveData.

Declaration
public static SlugBaseSaveData GetSlugBaseData(this MiscWorldSaveData data)
Parameters
Type Name Description
MiscWorldSaveData data

The MiscWorldSaveData instance.

Returns
Type Description
SlugBaseSaveData

A SlugBaseSaveData bound to the MiscWorldSaveData instance.

View Source

GetSlugBaseData(MiscProgressionData)

Gets a SlugBaseSaveData from the game's PlayerProgression.MiscProgressionData.

Declaration
public static SlugBaseSaveData GetSlugBaseData(this PlayerProgression.MiscProgressionData data)
Parameters
Type Name Description
MiscProgressionData data

The PlayerProgression.MiscProgressionData instance.

Returns
Type Description
SlugBaseSaveData

A SlugBaseSaveData bound to the PlayerProgression.MiscProgressionData instance.