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

#include <game_scanner_service.h>

Public Member Functions

void generateId ()
Game toGame () const

Public Attributes

bool alreadyImported = false
std::string arguments
std::string bannerPath
std::string configPath
std::string coverPath
std::map< std::string, std::string > dllOverrides
std::map< std::string, std::string > environmentVars
std::string epicAppId
std::vector< std::string > excludeProcesses
std::string executablePath
std::string existingGameId
int gogId = 0
std::string iconPath
std::string id
std::string installDir
time_t lastModified
std::string name
GameRunner runner
std::string runnerVersion
uint64_t sizeOnDisk
GameSource source
std::string sourceId
std::string sourceUrl
int steamAppId = 0
std::string winePrefix
std::string workingDir

Detailed Description

Definition at line 31 of file game_scanner_service.h.

Member Function Documentation

◆ generateId()

void ScannedGame::generateId ( )

Definition at line 89 of file game_scanner_service.cpp.

References executablePath.

Referenced by GameScannerService::scanNativeGames().

◆ toGame()

Member Data Documentation

◆ alreadyImported

bool ScannedGame::alreadyImported = false

Definition at line 63 of file game_scanner_service.h.

Referenced by GameScannerService::markAlreadyImported().

◆ arguments

std::string ScannedGame::arguments

Definition at line 47 of file game_scanner_service.h.

Referenced by toGame().

◆ bannerPath

std::string ScannedGame::bannerPath

Definition at line 52 of file game_scanner_service.h.

Referenced by toGame().

◆ configPath

std::string ScannedGame::configPath

Definition at line 55 of file game_scanner_service.h.

◆ coverPath

std::string ScannedGame::coverPath

Definition at line 51 of file game_scanner_service.h.

Referenced by toGame().

◆ dllOverrides

std::map<std::string, std::string> ScannedGame::dllOverrides

Definition at line 59 of file game_scanner_service.h.

Referenced by toGame().

◆ environmentVars

std::map<std::string, std::string> ScannedGame::environmentVars

Definition at line 58 of file game_scanner_service.h.

Referenced by toGame().

◆ epicAppId

std::string ScannedGame::epicAppId

Definition at line 71 of file game_scanner_service.h.

◆ excludeProcesses

std::vector<std::string> ScannedGame::excludeProcesses

Definition at line 60 of file game_scanner_service.h.

Referenced by toGame().

◆ executablePath

◆ existingGameId

std::string ScannedGame::existingGameId

Definition at line 64 of file game_scanner_service.h.

Referenced by GameScannerService::markAlreadyImported().

◆ gogId

int ScannedGame::gogId = 0

Definition at line 70 of file game_scanner_service.h.

◆ iconPath

std::string ScannedGame::iconPath

Definition at line 50 of file game_scanner_service.h.

Referenced by toGame().

◆ id

std::string ScannedGame::id

Definition at line 34 of file game_scanner_service.h.

Referenced by GameScannerService::markAlreadyImported().

◆ installDir

std::string ScannedGame::installDir

◆ lastModified

time_t ScannedGame::lastModified

Definition at line 54 of file game_scanner_service.h.

Referenced by GameScannerService::scanNativeGames().

◆ name

std::string ScannedGame::name

◆ runner

GameRunner ScannedGame::runner

Definition at line 45 of file game_scanner_service.h.

Referenced by GameScannerService::scanNativeGames(), and toGame().

◆ runnerVersion

std::string ScannedGame::runnerVersion

Definition at line 46 of file game_scanner_service.h.

Referenced by toGame().

◆ sizeOnDisk

uint64_t ScannedGame::sizeOnDisk

Definition at line 53 of file game_scanner_service.h.

Referenced by GameScannerService::scanNativeGames(), and toGame().

◆ source

◆ sourceId

std::string ScannedGame::sourceId

Definition at line 67 of file game_scanner_service.h.

◆ sourceUrl

std::string ScannedGame::sourceUrl

Definition at line 68 of file game_scanner_service.h.

◆ steamAppId

int ScannedGame::steamAppId = 0

◆ winePrefix

std::string ScannedGame::winePrefix

Definition at line 41 of file game_scanner_service.h.

Referenced by toGame().

◆ workingDir

std::string ScannedGame::workingDir

Definition at line 42 of file game_scanner_service.h.

Referenced by toGame().


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