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

Information about an Epic Games Store game. More...

#include <legendary_integration.h>

Public Member Functions

std::string getFormattedDownloadSize () const
std::string getFormattedInstallSize () const

Public Attributes

std::string appName
 Internal app identifier.
std::string appTitle
 Display title.
std::string baseGameAppName
 Parent game if this is DLC.
std::string coverUrl
 Cover image URL.
std::string developer
 Developer name.
std::vector< std::string > dlcAppNames
 DLC for this game.
int64_t downloadSize = 0
 Download size in bytes.
std::filesystem::path installPath
int64_t installSize = 0
 Installed size in bytes.
bool isDLC = false
bool isInstalled = false
std::vector< std::string > platforms
 Available platforms (Windows, Mac).
std::string publisher
 Publisher name.
bool supportsCloudSaves = false
std::string thumbnailUrl
 Thumbnail URL.
std::string version
 Installed/available version.

Detailed Description

Information about an Epic Games Store game.

Definition at line 47 of file legendary_integration.h.

Member Function Documentation

◆ getFormattedDownloadSize()

std::string EpicGameInfo::getFormattedDownloadSize ( ) const

Definition at line 73 of file legendary_integration.cpp.

References downloadSize.

◆ getFormattedInstallSize()

std::string EpicGameInfo::getFormattedInstallSize ( ) const

Definition at line 62 of file legendary_integration.cpp.

References installSize.

Member Data Documentation

◆ appName

std::string EpicGameInfo::appName

◆ appTitle

std::string EpicGameInfo::appTitle

◆ baseGameAppName

std::string EpicGameInfo::baseGameAppName

Parent game if this is DLC.

Definition at line 67 of file legendary_integration.h.

Referenced by LegendaryIntegration::getAvailableDLC().

◆ coverUrl

std::string EpicGameInfo::coverUrl

Cover image URL.

Definition at line 71 of file legendary_integration.h.

Referenced by LegendaryIntegration::toGame().

◆ developer

std::string EpicGameInfo::developer

Developer name.

Definition at line 52 of file legendary_integration.h.

Referenced by LegendaryIntegration::getGameInfo().

◆ dlcAppNames

std::vector<std::string> EpicGameInfo::dlcAppNames

DLC for this game.

Definition at line 68 of file legendary_integration.h.

◆ downloadSize

int64_t EpicGameInfo::downloadSize = 0

Download size in bytes.

Definition at line 59 of file legendary_integration.h.

Referenced by getFormattedDownloadSize(), and LegendaryIntegration::getGameInfo().

◆ installPath

std::filesystem::path EpicGameInfo::installPath

◆ installSize

int64_t EpicGameInfo::installSize = 0

◆ isDLC

bool EpicGameInfo::isDLC = false

Definition at line 66 of file legendary_integration.h.

Referenced by LegendaryIntegration::getAvailableDLC().

◆ isInstalled

bool EpicGameInfo::isInstalled = false

◆ platforms

std::vector<std::string> EpicGameInfo::platforms

Available platforms (Windows, Mac).

Definition at line 62 of file legendary_integration.h.

◆ publisher

std::string EpicGameInfo::publisher

Publisher name.

Definition at line 53 of file legendary_integration.h.

◆ supportsCloudSaves

bool EpicGameInfo::supportsCloudSaves = false

Definition at line 63 of file legendary_integration.h.

◆ thumbnailUrl

std::string EpicGameInfo::thumbnailUrl

Thumbnail URL.

Definition at line 72 of file legendary_integration.h.

◆ version

std::string EpicGameInfo::version

Installed/available version.

Definition at line 51 of file legendary_integration.h.

Referenced by LegendaryIntegration::getGameInfo(), and LegendaryIntegration::getInstalledGames().


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