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

A single launch configuration from appinfo.vdf. More...

#include <steam_appinfo_parser.h>

Public Member Functions

bool isDefault () const
bool supportsLinux () const
bool supportsWindows () const

Public Attributes

std::string arguments
 Default launch arguments.
std::string description
 User-facing description (e.g., "DirectX 12 mode").
std::string executable
 Executable path relative to install dir (e.g., "game.exe").
int index = -1
 Launch entry index (0, 1, 2, ...).
std::string osarch
 Architecture: "32", "64", or empty.
std::string oslist
 Comma-separated OS list: "windows", "linux", "macos".
std::string type
 Launch type: "default", "none", "option1", "option2", etc.

Detailed Description

A single launch configuration from appinfo.vdf.

Steam games can have multiple launch entries (e.g., main game, DX12 mode, dedicated server, legacy version). Each entry specifies an executable, arguments, OS compatibility, and a type that determines its role.

Definition at line 39 of file steam_appinfo_parser.h.

Member Function Documentation

◆ isDefault()

bool SteamLaunchEntry::isDefault ( ) const
inline

Definition at line 49 of file steam_appinfo_parser.h.

References type.

◆ supportsLinux()

bool SteamLaunchEntry::supportsLinux ( ) const
inline

Definition at line 57 of file steam_appinfo_parser.h.

References oslist.

◆ supportsWindows()

bool SteamLaunchEntry::supportsWindows ( ) const
inline

Definition at line 53 of file steam_appinfo_parser.h.

References oslist.

Member Data Documentation

◆ arguments

std::string SteamLaunchEntry::arguments

Default launch arguments.

Definition at line 43 of file steam_appinfo_parser.h.

◆ description

std::string SteamLaunchEntry::description

User-facing description (e.g., "DirectX 12 mode").

Definition at line 44 of file steam_appinfo_parser.h.

◆ executable

std::string SteamLaunchEntry::executable

Executable path relative to install dir (e.g., "game.exe").

Definition at line 42 of file steam_appinfo_parser.h.

◆ index

int SteamLaunchEntry::index = -1

Launch entry index (0, 1, 2, ...).

Definition at line 41 of file steam_appinfo_parser.h.

◆ osarch

std::string SteamLaunchEntry::osarch

Architecture: "32", "64", or empty.

Definition at line 47 of file steam_appinfo_parser.h.

◆ oslist

std::string SteamLaunchEntry::oslist

Comma-separated OS list: "windows", "linux", "macos".

Definition at line 46 of file steam_appinfo_parser.h.

Referenced by supportsLinux(), and supportsWindows().

◆ type

std::string SteamLaunchEntry::type

Launch type: "default", "none", "option1", "option2", etc.

Definition at line 45 of file steam_appinfo_parser.h.

Referenced by isDefault().


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