|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
A complete snapshot of a game's saves at a point in time. More...
#include <cloud_save_service.h>
Public Member Functions | |
| std::string | getFormattedSize () const |
| std::string | getFormattedTime () const |
Public Attributes | |
| std::string | description |
| User-provided description. | |
| std::vector< SaveFile > | files |
| Files in this snapshot. | |
| std::string | gameId |
| Game this belongs to. | |
| std::string | gameName |
| Game display name. | |
| std::string | id |
| Unique snapshot ID. | |
| bool | isAutomatic = false |
| True if auto-created. | |
| std::chrono::system_clock::time_point | timestamp |
| int64_t | totalSize = 0 |
| Total size of all files. | |
A complete snapshot of a game's saves at a point in time.
Definition at line 113 of file cloud_save_service.h.
| std::string SaveSnapshot::getFormattedSize | ( | ) | const |
Definition at line 227 of file cloud_save_service.cpp.
References totalSize.
| std::string SaveSnapshot::getFormattedTime | ( | ) | const |
Definition at line 222 of file cloud_save_service.cpp.
References timestamp.
| std::string SaveSnapshot::description |
User-provided description.
Definition at line 121 of file cloud_save_service.h.
Referenced by CloudSaveService::createSnapshot().
| std::vector<SaveFile> SaveSnapshot::files |
Files in this snapshot.
Definition at line 119 of file cloud_save_service.h.
Referenced by CloudSaveService::createSnapshot().
| std::string SaveSnapshot::gameId |
Game this belongs to.
Definition at line 116 of file cloud_save_service.h.
Referenced by CloudSaveService::createSnapshot().
| std::string SaveSnapshot::gameName |
Game display name.
Definition at line 117 of file cloud_save_service.h.
Referenced by CloudSaveService::createSnapshot().
| std::string SaveSnapshot::id |
Unique snapshot ID.
Definition at line 115 of file cloud_save_service.h.
Referenced by CloudSaveService::createSnapshot().
| bool SaveSnapshot::isAutomatic = false |
True if auto-created.
Definition at line 122 of file cloud_save_service.h.
Referenced by CloudSaveService::createSnapshot().
| std::chrono::system_clock::time_point SaveSnapshot::timestamp |
Definition at line 118 of file cloud_save_service.h.
Referenced by CloudSaveService::createSnapshot(), and getFormattedTime().
| int64_t SaveSnapshot::totalSize = 0 |
Total size of all files.
Definition at line 120 of file cloud_save_service.h.
Referenced by CloudSaveService::createSnapshot(), and getFormattedSize().