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

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).

Detailed Description

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.

Function Documentation

◆ getStateDescription()

std::string SteamStateFlags::getStateDescription ( uint32_t flags)
inline

◆ isDownloading()

bool SteamStateFlags::isDownloading ( uint32_t flags)
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().

◆ isFullyInstalled()

bool SteamStateFlags::isFullyInstalled ( uint32_t flags)
inline

◆ needsUpdate()

bool SteamStateFlags::needsUpdate ( uint32_t flags)
inline

Variable Documentation

◆ Downloading

uint32_t SteamStateFlags::Downloading = 1024
constexpr

Currently downloading.

Definition at line 763 of file steam_integration.h.

Referenced by getStateDescription(), and isDownloading().

◆ FullyInstalled

uint32_t SteamStateFlags::FullyInstalled = 4
constexpr

Game is fully installed and playable.

Definition at line 761 of file steam_integration.h.

Referenced by getStateDescription(), and isFullyInstalled().

◆ Preallocating

uint32_t SteamStateFlags::Preallocating = 64
constexpr

Pre-allocating disk space.

Definition at line 766 of file steam_integration.h.

Referenced by getStateDescription().

◆ Reconfiguring

uint32_t SteamStateFlags::Reconfiguring = 65536
constexpr

Reconfiguring after update.

Definition at line 767 of file steam_integration.h.

Referenced by getStateDescription().

◆ Staging

uint32_t SteamStateFlags::Staging = 2048
constexpr

Staging files after download.

Definition at line 765 of file steam_integration.h.

Referenced by getStateDescription(), and DetailsPanelManager::Impl::update().

◆ Uninstalling

uint32_t SteamStateFlags::Uninstalling = 131072
constexpr

Being uninstalled.

Definition at line 768 of file steam_integration.h.

Referenced by getStateDescription().

◆ UpdateRequired

uint32_t SteamStateFlags::UpdateRequired = 2
constexpr

Update available (not yet started).

Definition at line 762 of file steam_integration.h.

Referenced by getStateDescription(), and needsUpdate().

◆ UpdateStarted

uint32_t SteamStateFlags::UpdateStarted = 1026
constexpr

Update in progress (Downloading | UpdateRequired).

Definition at line 764 of file steam_integration.h.