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

#include <save_manager.h>

Public Member Functions

const char * langKey () const
 

Public Attributes

SaveErrorKind kind = SaveErrorKind::None
 
std::string detail
 Technical detail for logs (not localized).
 
int found_version = 0
 
int supported_version = 0
 

Member Function Documentation

◆ langKey()

const char * SaveError::langKey ( ) const

Localized message key (both lang files), e.g. "SAVE_ERROR_CORRUPT".

Member Data Documentation

◆ detail

std::string SaveError::detail

Technical detail for logs (not localized).

◆ found_version

int SaveError::found_version = 0

For FutureVersion: the version found and the supported one.

◆ kind

◆ supported_version

int SaveError::supported_version = 0

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