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

Information about a GOG.com game. More...

#include <gog_integration.h>

Public Member Functions

std::string getFormattedSize () const

Public Attributes

std::string backgroundUrl
std::string baseGameId
 If DLC, the base game ID.
std::string coverUrl
std::string developer
std::vector< std::string > dlcIds
std::string executable
 Main executable name.
std::string gameId
 GOG game ID (numeric string).
std::vector< std::string > genres
bool hasLinuxBuild = false
bool hasMacBuild = false
bool hasWindowsBuild = false
std::string iconUrl
std::filesystem::path installPath
int64_t installSize = 0
bool isDLC = false
bool isInstalled = false
std::string publisher
float rating = 0.0f
std::string releaseDate
std::string slug
 URL-friendly name.
bool supportsCloudSaves = false
std::vector< std::string > tags
std::string title
 Display title.
std::string version
 Installed version.

Detailed Description

Information about a GOG.com game.

Definition at line 41 of file gog_integration.h.

Member Function Documentation

◆ getFormattedSize()

std::string GOGGameInfo::getFormattedSize ( ) const

Definition at line 31 of file gog_integration.cpp.

References installSize.

Member Data Documentation

◆ backgroundUrl

std::string GOGGameInfo::backgroundUrl

Definition at line 61 of file gog_integration.h.

Referenced by GOGIntegration::toGame().

◆ baseGameId

std::string GOGGameInfo::baseGameId

If DLC, the base game ID.

Definition at line 75 of file gog_integration.h.

◆ coverUrl

std::string GOGGameInfo::coverUrl

Definition at line 60 of file gog_integration.h.

Referenced by GOGIntegration::toGame().

◆ developer

std::string GOGGameInfo::developer

Definition at line 65 of file gog_integration.h.

Referenced by GOGIntegration::toGame().

◆ dlcIds

std::vector<std::string> GOGGameInfo::dlcIds

Definition at line 73 of file gog_integration.h.

◆ executable

std::string GOGGameInfo::executable

Main executable name.

Definition at line 52 of file gog_integration.h.

Referenced by GOGIntegration::toGame().

◆ gameId

std::string GOGGameInfo::gameId

GOG game ID (numeric string).

Definition at line 43 of file gog_integration.h.

Referenced by GOGIntegration::getGameInfo(), and GOGIntegration::toGame().

◆ genres

std::vector<std::string> GOGGameInfo::genres

Definition at line 68 of file gog_integration.h.

Referenced by GOGIntegration::toGame().

◆ hasLinuxBuild

bool GOGGameInfo::hasLinuxBuild = false

Definition at line 55 of file gog_integration.h.

Referenced by GOGIntegration::toGame().

◆ hasMacBuild

bool GOGGameInfo::hasMacBuild = false

Definition at line 57 of file gog_integration.h.

◆ hasWindowsBuild

bool GOGGameInfo::hasWindowsBuild = false

Definition at line 56 of file gog_integration.h.

◆ iconUrl

std::string GOGGameInfo::iconUrl

Definition at line 62 of file gog_integration.h.

◆ installPath

std::filesystem::path GOGGameInfo::installPath

Definition at line 50 of file gog_integration.h.

Referenced by GOGIntegration::toGame().

◆ installSize

int64_t GOGGameInfo::installSize = 0

Definition at line 51 of file gog_integration.h.

Referenced by getFormattedSize().

◆ isDLC

bool GOGGameInfo::isDLC = false

Definition at line 74 of file gog_integration.h.

◆ isInstalled

bool GOGGameInfo::isInstalled = false

Definition at line 49 of file gog_integration.h.

Referenced by GOGIntegration::getInstalledGames(), and GOGIntegration::toGame().

◆ publisher

std::string GOGGameInfo::publisher

Definition at line 66 of file gog_integration.h.

Referenced by GOGIntegration::toGame().

◆ rating

float GOGGameInfo::rating = 0.0f

Definition at line 70 of file gog_integration.h.

◆ releaseDate

std::string GOGGameInfo::releaseDate

Definition at line 67 of file gog_integration.h.

◆ slug

std::string GOGGameInfo::slug

URL-friendly name.

Definition at line 45 of file gog_integration.h.

◆ supportsCloudSaves

bool GOGGameInfo::supportsCloudSaves = false

Definition at line 78 of file gog_integration.h.

◆ tags

std::vector<std::string> GOGGameInfo::tags

Definition at line 69 of file gog_integration.h.

◆ title

std::string GOGGameInfo::title

Display title.

Definition at line 44 of file gog_integration.h.

Referenced by GOGIntegration::toGame().

◆ version

std::string GOGGameInfo::version

Installed version.

Definition at line 46 of file gog_integration.h.


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