mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-03-23 02:04:35 -05:00
28 lines
876 B
C++
28 lines
876 B
C++
#pragma once
|
|
#include <string>
|
|
#include <cstdint>
|
|
#include <switch.h>
|
|
|
|
namespace data
|
|
{
|
|
class userSaveInfo
|
|
{
|
|
public:
|
|
// Inits data
|
|
userSaveInfo(uint64_t titleID, const FsSaveDataInfo &saveDataInfo, const PdmPlayStatistics &playStats);
|
|
// These do not return references or pointers so they can't be changed
|
|
uint64_t getTitleID(void) const;
|
|
// Not sure how I feel about returning references, but I don't wanna make copies to get the data from these.
|
|
FsSaveDataInfo getSaveDataInfo(void) const;
|
|
PdmPlayStatistics getPlayStatistics(void) const;
|
|
|
|
private:
|
|
// Title ID/Application ID
|
|
uint64_t m_TitleID;
|
|
// Save info
|
|
FsSaveDataInfo m_SaveDataInfo;
|
|
// Play stats
|
|
PdmPlayStatistics m_PlayStats;
|
|
};
|
|
}
|