Player12
An open source football management simulator
Loading...
Searching...
No Matches
SaveBackup Struct Reference

#include <save_manager.h>

Public Types

enum class  Kind : std::uint8_t { Rotation , PreMigration }
 

Public Attributes

Kind kind = Kind::Rotation
 
int index = 0
 Rotation index, or the schema version for PreMigration.
 
std::filesystem::path path
 
SaveInspection inspection
 

Detailed Description

A restorable copy of a slot.

Member Enumeration Documentation

◆ Kind

enum class SaveBackup::Kind : std::uint8_t
strong
Enumerator
Rotation 

Previous save; index 1 is the newest.

PreMigration 

The file as it was before a schema upgrade.

Member Data Documentation

◆ index

int SaveBackup::index = 0

Rotation index, or the schema version for PreMigration.

◆ inspection

SaveInspection SaveBackup::inspection

◆ kind

Kind SaveBackup::kind = Kind::Rotation

◆ path

std::filesystem::path SaveBackup::path

The documentation for this struct was generated from the following file: