Class SaveFileSet

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

The three save files of one player: options, profile progress and the saved run.

public sealed class SaveFileSet
Inheritance
SaveFileSet
Inherited Members

Constructors

SaveFileSet(string, string, string, Func<IReadOnlyList<string>>)

Connects separate options, profile and run files and their legacy-import routing.

public SaveFileSet(string optionsPath, string profilePath, string runPath, Func<IReadOnlyList<string>> arenaIds = null)

Parameters

optionsPath string

Nonempty user-options file path.

profilePath string

Nonempty profile-progress file path.

runPath string

Nonempty saved-run file path.

arenaIds Func<IReadOnlyList<string>>

Stable arena ids in content order, used to import runs saved without arena ids.

Properties

Options

public JsonFileOptionsStore Options { get; }

Property Value

JsonFileOptionsStore

Profile

public JsonFileProfileStore Profile { get; }

Property Value

JsonFileProfileStore

Run

public JsonFileRunStore Run { get; }

Property Value

JsonFileRunStore