|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Steam StateFlags bitfield values from appmanifest ACF files. More...
Functions | |
| std::string | getStateDescription (uint32_t flags) |
| Get human-readable state description. | |
| bool | isDownloading (uint32_t flags) |
| Check if a game is currently downloading or updating. | |
| bool | isFullyInstalled (uint32_t flags) |
| Check if a game is fully installed. | |
| bool | needsUpdate (uint32_t flags) |
| Check if a game needs an update. | |
Variables | |
| constexpr uint32_t | Downloading = 1024 |
| Currently downloading. | |
| constexpr uint32_t | FullyInstalled = 4 |
| Game is fully installed and playable. | |
| constexpr uint32_t | Preallocating = 64 |
| Pre-allocating disk space. | |
| constexpr uint32_t | Reconfiguring = 65536 |
| Reconfiguring after update. | |
| constexpr uint32_t | Staging = 2048 |
| Staging files after download. | |
| constexpr uint32_t | Uninstalling = 131072 |
| Being uninstalled. | |
| constexpr uint32_t | UpdateRequired = 2 |
| Update available (not yet started). | |
| constexpr uint32_t | UpdateStarted = 1026 |
| Update in progress (Downloading | UpdateRequired). | |
Steam StateFlags bitfield values from appmanifest ACF files.
These flags indicate the current installation/update state of a Steam game. Multiple flags can be set simultaneously.
|
inline |
Get human-readable state description.
Definition at line 797 of file steam_integration.h.
References Downloading, FullyInstalled, Preallocating, Reconfiguring, Staging, Uninstalling, and UpdateRequired.
Referenced by SteamDownloadProgress::calculateProgress(), and SteamDownloadMonitor::readGameState().
|
inline |
Check if a game is currently downloading or updating.
Definition at line 773 of file steam_integration.h.
References Downloading.
Referenced by SteamDownloadMonitor::getDownloadingGames(), needsUpdate(), SteamUpdateMonitor::Impl::scanForUpdates(), and DetailsPanelManager::Impl::update().
|
inline |
Check if a game is fully installed.
Definition at line 781 of file steam_integration.h.
References FullyInstalled.
Referenced by SteamDownloadProgress::calculateProgress(), SteamDownloadMonitor::readGameState(), SteamUpdateMonitor::Impl::scanForUpdates(), and DetailsPanelManager::Impl::updateLaunchButton().
|
inline |
Check if a game needs an update.
Definition at line 789 of file steam_integration.h.
References isDownloading(), and UpdateRequired.
Referenced by UpdatesIndicator::refresh(), SteamUpdateMonitor::Impl::scanForUpdates(), DetailsPanelManager::Impl::update(), and SidebarManager::updateCategoryCounts().
|
constexpr |
Currently downloading.
Definition at line 763 of file steam_integration.h.
Referenced by getStateDescription(), and isDownloading().
|
constexpr |
Game is fully installed and playable.
Definition at line 761 of file steam_integration.h.
Referenced by getStateDescription(), and isFullyInstalled().
|
constexpr |
Pre-allocating disk space.
Definition at line 766 of file steam_integration.h.
Referenced by getStateDescription().
|
constexpr |
Reconfiguring after update.
Definition at line 767 of file steam_integration.h.
Referenced by getStateDescription().
|
constexpr |
Staging files after download.
Definition at line 765 of file steam_integration.h.
Referenced by getStateDescription(), and DetailsPanelManager::Impl::update().
|
constexpr |
Being uninstalled.
Definition at line 768 of file steam_integration.h.
Referenced by getStateDescription().
|
constexpr |
Update available (not yet started).
Definition at line 762 of file steam_integration.h.
Referenced by getStateDescription(), and needsUpdate().
|
constexpr |
Update in progress (Downloading | UpdateRequired).
Definition at line 764 of file steam_integration.h.