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

Collection of suggestions for a game. More...

#include <game_suggestion_service.h>

Public Member Functions

std::vector< GameSuggestion > getByCategory (SuggestionCategory category) const
std::vector< GameSuggestion > getByPriority (SuggestionPriority priority) const
std::string getCombinedDLLOverrides () const
ConfidenceLevel getConfidenceLevel () const
float getConfidenceScore () const
std::string getConfidenceSummary () const
std::vector< std::pair< std::string, std::string > > getEnvironmentVariables () const
std::string getRecommendedRunner () const
bool hasCritical () const
bool hasRecommendations () const
bool hasRunnerSuggestion () const

Public Attributes

float confidenceBoost = 0.0f
std::string detectedGPU
std::string gameName
bool hasBlockingIssue = false
bool hasLutrisInstaller = false
bool hasNativeLinux = false
bool isCachyOS = false
int lutrisDownloadCount = 0
bool needsBattleyeRuntime = false
bool needsEACRuntime = false
std::string protondbConfidence
int protondbReportCount = 0
float protondbScore = 0.0f
std::string protondbTier
int steamAppId = 0
std::string steamDeckStatus
std::vector< GameSuggestion > suggestions

Detailed Description

Collection of suggestions for a game.

Definition at line 125 of file game_suggestion_service.h.

Member Function Documentation

◆ getByCategory()

std::vector< GameSuggestion > GameSuggestions::getByCategory ( SuggestionCategory category) const

Definition at line 95 of file game_suggestion_service.cpp.

References suggestions.

◆ getByPriority()

std::vector< GameSuggestion > GameSuggestions::getByPriority ( SuggestionPriority priority) const

Definition at line 108 of file game_suggestion_service.cpp.

References suggestions.

◆ getCombinedDLLOverrides()

std::string GameSuggestions::getCombinedDLLOverrides ( ) const

Definition at line 146 of file game_suggestion_service.cpp.

References suggestions.

◆ getConfidenceLevel()

◆ getConfidenceScore()

◆ getConfidenceSummary()

◆ getEnvironmentVariables()

std::vector< std::pair< std::string, std::string > > GameSuggestions::getEnvironmentVariables ( ) const

Definition at line 133 of file game_suggestion_service.cpp.

References suggestions.

◆ getRecommendedRunner()

std::string GameSuggestions::getRecommendedRunner ( ) const

Definition at line 121 of file game_suggestion_service.cpp.

References Runner, and suggestions.

◆ hasCritical()

bool GameSuggestions::hasCritical ( ) const

Definition at line 82 of file game_suggestion_service.cpp.

References suggestions.

◆ hasRecommendations()

bool GameSuggestions::hasRecommendations ( ) const
inline

Definition at line 162 of file game_suggestion_service.h.

References suggestions.

Referenced by RecommendationsWidget::loadRecommendations().

◆ hasRunnerSuggestion()

bool GameSuggestions::hasRunnerSuggestion ( ) const

Definition at line 88 of file game_suggestion_service.cpp.

References suggestions.

Member Data Documentation

◆ confidenceBoost

float GameSuggestions::confidenceBoost = 0.0f

Definition at line 155 of file game_suggestion_service.h.

Referenced by getConfidenceScore().

◆ detectedGPU

std::string GameSuggestions::detectedGPU

◆ gameName

◆ hasBlockingIssue

bool GameSuggestions::hasBlockingIssue = false

◆ hasLutrisInstaller

bool GameSuggestions::hasLutrisInstaller = false

◆ hasNativeLinux

bool GameSuggestions::hasNativeLinux = false

◆ isCachyOS

bool GameSuggestions::isCachyOS = false

◆ lutrisDownloadCount

int GameSuggestions::lutrisDownloadCount = 0

◆ needsBattleyeRuntime

bool GameSuggestions::needsBattleyeRuntime = false

Definition at line 152 of file game_suggestion_service.h.

◆ needsEACRuntime

bool GameSuggestions::needsEACRuntime = false

Definition at line 151 of file game_suggestion_service.h.

◆ protondbConfidence

std::string GameSuggestions::protondbConfidence

Definition at line 132 of file game_suggestion_service.h.

Referenced by getConfidenceLevel(), and getConfidenceScore().

◆ protondbReportCount

int GameSuggestions::protondbReportCount = 0

◆ protondbScore

float GameSuggestions::protondbScore = 0.0f

Definition at line 133 of file game_suggestion_service.h.

◆ protondbTier

std::string GameSuggestions::protondbTier

◆ steamAppId

int GameSuggestions::steamAppId = 0

◆ steamDeckStatus

std::string GameSuggestions::steamDeckStatus

◆ suggestions


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