CandidateKind

Summary: Identify a stored copy used during recovery.

Description

Use CandidateKind when inspecting or supplying a StorageCandidate.

Namespace Gley.SaveSystem.

Declaration

C#
public enum CandidateKind

Members

ValueDescription
MainThe current saved copy.
TempThe temporary copy left by an interrupted write.
BackupThe previous saved copy kept for recovery.

Example

For a recovery test, use MemoryStorage.SetRaw with CandidateKind.Backup to place a previously written save in the backup position.

On This Page