|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
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 |
Collection of suggestions for a game.
Definition at line 125 of file game_suggestion_service.h.
| std::vector< GameSuggestion > GameSuggestions::getByCategory | ( | SuggestionCategory | category | ) | const |
Definition at line 95 of file game_suggestion_service.cpp.
References suggestions.
| std::vector< GameSuggestion > GameSuggestions::getByPriority | ( | SuggestionPriority | priority | ) | const |
Definition at line 108 of file game_suggestion_service.cpp.
References suggestions.
| std::string GameSuggestions::getCombinedDLLOverrides | ( | ) | const |
Definition at line 146 of file game_suggestion_service.cpp.
References suggestions.
| ConfidenceLevel GameSuggestions::getConfidenceLevel | ( | ) | const |
Definition at line 163 of file game_suggestion_service.cpp.
References hasBlockingIssue, hasLutrisInstaller, hasNativeLinux, High, Low, lutrisDownloadCount, Medium, protondbConfidence, protondbReportCount, protondbTier, steamDeckStatus, Unknown, and VeryHigh.
Referenced by getConfidenceSummary().
| float GameSuggestions::getConfidenceScore | ( | ) | const |
Definition at line 240 of file game_suggestion_service.cpp.
References confidenceBoost, hasBlockingIssue, hasLutrisInstaller, hasNativeLinux, lutrisDownloadCount, protondbConfidence, protondbReportCount, protondbTier, and steamDeckStatus.
Referenced by GameSuggestionService::getSuggestions().
| std::string GameSuggestions::getConfidenceSummary | ( | ) | const |
Definition at line 317 of file game_suggestion_service.cpp.
References getConfidenceLevel(), hasBlockingIssue, hasLutrisInstaller, hasNativeLinux, High, Low, lutrisDownloadCount, Medium, protondbReportCount, protondbTier, steamDeckStatus, Unknown, and VeryHigh.
Referenced by GameSuggestionService::getSuggestions().
| std::vector< std::pair< std::string, std::string > > GameSuggestions::getEnvironmentVariables | ( | ) | const |
Definition at line 133 of file game_suggestion_service.cpp.
References suggestions.
| std::string GameSuggestions::getRecommendedRunner | ( | ) | const |
Definition at line 121 of file game_suggestion_service.cpp.
References Runner, and suggestions.
| bool GameSuggestions::hasCritical | ( | ) | const |
Definition at line 82 of file game_suggestion_service.cpp.
References suggestions.
|
inline |
Definition at line 162 of file game_suggestion_service.h.
References suggestions.
Referenced by RecommendationsWidget::loadRecommendations().
| bool GameSuggestions::hasRunnerSuggestion | ( | ) | const |
Definition at line 88 of file game_suggestion_service.cpp.
References suggestions.
| float GameSuggestions::confidenceBoost = 0.0f |
Definition at line 155 of file game_suggestion_service.h.
Referenced by getConfidenceScore().
| std::string GameSuggestions::detectedGPU |
Definition at line 147 of file game_suggestion_service.h.
Referenced by GameSuggestionService::getLocalSuggestions(), and GameSuggestionService::getSuggestions().
| std::string GameSuggestions::gameName |
Definition at line 128 of file game_suggestion_service.h.
Referenced by GameSuggestionService::applySuggestions(), GameSuggestionService::getLocalSuggestions(), and GameSuggestionService::getSuggestions().
| bool GameSuggestions::hasBlockingIssue = false |
Definition at line 156 of file game_suggestion_service.h.
Referenced by getConfidenceLevel(), getConfidenceScore(), and getConfidenceSummary().
| bool GameSuggestions::hasLutrisInstaller = false |
Definition at line 143 of file game_suggestion_service.h.
Referenced by getConfidenceLevel(), getConfidenceScore(), getConfidenceSummary(), and GameSuggestionService::getSuggestions().
| bool GameSuggestions::hasNativeLinux = false |
Definition at line 140 of file game_suggestion_service.h.
Referenced by getConfidenceLevel(), getConfidenceScore(), getConfidenceSummary(), and GameSuggestionService::getSuggestions().
| bool GameSuggestions::isCachyOS = false |
Definition at line 148 of file game_suggestion_service.h.
Referenced by GameSuggestionService::getLocalSuggestions(), and GameSuggestionService::getSuggestions().
| int GameSuggestions::lutrisDownloadCount = 0 |
Definition at line 144 of file game_suggestion_service.h.
Referenced by getConfidenceLevel(), getConfidenceScore(), getConfidenceSummary(), and GameSuggestionService::getSuggestions().
| bool GameSuggestions::needsBattleyeRuntime = false |
Definition at line 152 of file game_suggestion_service.h.
| bool GameSuggestions::needsEACRuntime = false |
Definition at line 151 of file game_suggestion_service.h.
| std::string GameSuggestions::protondbConfidence |
Definition at line 132 of file game_suggestion_service.h.
Referenced by getConfidenceLevel(), and getConfidenceScore().
| int GameSuggestions::protondbReportCount = 0 |
Definition at line 134 of file game_suggestion_service.h.
Referenced by getConfidenceLevel(), getConfidenceScore(), getConfidenceSummary(), and GameSuggestionService::getSuggestions().
| float GameSuggestions::protondbScore = 0.0f |
Definition at line 133 of file game_suggestion_service.h.
| std::string GameSuggestions::protondbTier |
Definition at line 131 of file game_suggestion_service.h.
Referenced by getConfidenceLevel(), getConfidenceScore(), getConfidenceSummary(), and GameSuggestionService::getSuggestions().
| int GameSuggestions::steamAppId = 0 |
Definition at line 127 of file game_suggestion_service.h.
Referenced by GameSuggestionService::getLocalSuggestions(), and GameSuggestionService::getSuggestions().
| std::string GameSuggestions::steamDeckStatus |
Definition at line 137 of file game_suggestion_service.h.
Referenced by getConfidenceLevel(), getConfidenceScore(), getConfidenceSummary(), and GameSuggestionService::getSuggestions().
| std::vector<GameSuggestion> GameSuggestions::suggestions |
Definition at line 159 of file game_suggestion_service.h.
Referenced by GameSuggestionService::applySuggestions(), GameSuggestionService::checkConflicts(), getByCategory(), getByPriority(), getCombinedDLLOverrides(), getEnvironmentVariables(), getRecommendedRunner(), GameSuggestionService::getSuggestions(), hasCritical(), hasRecommendations(), and hasRunnerSuggestion().