|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Parsed metadata for a single Steam app from appinfo.vdf. More...
#include <steam_appinfo_parser.h>
Public Member Functions | |
| std::optional< SteamLaunchEntry > | getNativeLaunchEntry () const |
| Get the best launch entry for native Linux execution. | |
| std::optional< SteamLaunchEntry > | getProtonLaunchEntry () const |
| Get the best launch entry for running under Proton. | |
| bool | isGame () const |
| bool | isTool () const |
Public Attributes | |
| uint32_t | appId = 0 |
| std::vector< SteamLaunchEntry > | launchEntries |
| All launch configurations. | |
| std::string | name |
| App name from common section. | |
| std::string | type |
| App type: "Game", "Tool", "DLC", "Demo", etc. | |
Parsed metadata for a single Steam app from appinfo.vdf.
Definition at line 67 of file steam_appinfo_parser.h.
| std::optional< SteamLaunchEntry > SteamAppVdfInfo::getNativeLaunchEntry | ( | ) | const |
Get the best launch entry for native Linux execution.
Definition at line 72 of file steam_appinfo_parser.cpp.
References launchEntries.
| std::optional< SteamLaunchEntry > SteamAppVdfInfo::getProtonLaunchEntry | ( | ) | const |
Get the best launch entry for running under Proton.
Selection priority:
Definition at line 46 of file steam_appinfo_parser.cpp.
References launchEntries.
|
inline |
Definition at line 92 of file steam_appinfo_parser.h.
References type.
|
inline |
Definition at line 96 of file steam_appinfo_parser.h.
References type.
| uint32_t SteamAppVdfInfo::appId = 0 |
Definition at line 69 of file steam_appinfo_parser.h.
| std::vector<SteamLaunchEntry> SteamAppVdfInfo::launchEntries |
All launch configurations.
Definition at line 72 of file steam_appinfo_parser.h.
Referenced by getNativeLaunchEntry(), and getProtonLaunchEntry().
| std::string SteamAppVdfInfo::name |
App name from common section.
Definition at line 70 of file steam_appinfo_parser.h.
| std::string SteamAppVdfInfo::type |
App type: "Game", "Tool", "DLC", "Demo", etc.
Definition at line 71 of file steam_appinfo_parser.h.