Struct SaveSlotSummary

Namespace
TDMaker.Unity.Campaign
Assembly
TDMaker.Unity.dll

What a slot picker shows for one slot without opening it.

public readonly struct SaveSlotSummary
Inherited Members

Constructors

SaveSlotSummary(int, bool, int, int, int, DateTime?, SaveLoadStatus)

Creates a summary.

public SaveSlotSummary(int slot, bool exists, int stars, int maxStars, int completed, DateTime? saved, SaveLoadStatus status)

Parameters

slot int
exists bool
stars int
maxStars int
completed int
saved DateTime?
status SaveLoadStatus

Fields

Completed

Completed levels.

public readonly int Completed

Field Value

int

Exists

Whether the slot holds a profile.

public readonly bool Exists

Field Value

bool

MaxStars

Highest star total of the campaign.

public readonly int MaxStars

Field Value

int

Saved

Last save time (local), or null.

public readonly DateTime? Saved

Field Value

DateTime?

Slot

Slot number (0-based).

public readonly int Slot

Field Value

int

Stars

Stars including victories not merged into the map yet (never counted twice).

public readonly int Stars

Field Value

int

Status

How the slot read (Corrupt / NewerVersion slots were backed up and show as empty).

public readonly SaveLoadStatus Status

Field Value

SaveLoadStatus