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
Fields
Completed
Completed levels.
public readonly int Completed
Field Value
Exists
Whether the slot holds a profile.
public readonly bool Exists
Field Value
MaxStars
Highest star total of the campaign.
public readonly int MaxStars
Field Value
Saved
Last save time (local), or null.
public readonly DateTime? Saved
Field Value
Slot
Slot number (0-based).
public readonly int Slot
Field Value
Stars
Stars including victories not merged into the map yet (never counted twice).
public readonly int Stars
Field Value
Status
How the slot read (Corrupt / NewerVersion slots were backed up and show as empty).
public readonly SaveLoadStatus Status