game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
CloudSaveInfo Struct Reference

Information about Steam Cloud save synchronization. More...

#include <game.h>

Public Attributes

bool enabled = false
 Cloud saves enabled for this game.
int lastSyncState = 0
 0=synced, 1=uploading, 2=downloading, 3=error
time_t lastSyncTime = 0
 Last successful sync timestamp.
uint64_t storageBytes = 0
 Cloud storage used in bytes.
bool supported = false
 Game supports Steam Cloud.

Detailed Description

Information about Steam Cloud save synchronization.

Stores cloud save status for Steam games including whether cloud saves are enabled, storage size, and last sync status.

Definition at line 516 of file game.h.

Member Data Documentation

◆ enabled

bool CloudSaveInfo::enabled = false

Cloud saves enabled for this game.

Definition at line 518 of file game.h.

Referenced by GameDatabase::insertGame(), SteamLibraryScanner::readSteamCloudSaveInfo(), and DetailsPanelManager::Impl::update().

◆ lastSyncState

int CloudSaveInfo::lastSyncState = 0

0=synced, 1=uploading, 2=downloading, 3=error

Definition at line 520 of file game.h.

Referenced by GameDatabase::insertGame(), SteamLibraryScanner::readSteamCloudSaveInfo(), and DetailsPanelManager::Impl::update().

◆ lastSyncTime

time_t CloudSaveInfo::lastSyncTime = 0

Last successful sync timestamp.

Definition at line 522 of file game.h.

Referenced by GameDatabase::insertGame(), and SteamLibraryScanner::readSteamCloudSaveInfo().

◆ storageBytes

uint64_t CloudSaveInfo::storageBytes = 0

Cloud storage used in bytes.

Definition at line 521 of file game.h.

Referenced by GameDatabase::insertGame(), SteamLibraryScanner::readSteamCloudSaveInfo(), and DetailsPanelManager::Impl::update().

◆ supported

bool CloudSaveInfo::supported = false

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