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

Paths to various game image assets. More...

#include <game.h>

Public Attributes

std::string capsule
 Store capsule image (capsule_616x353.jpg).
std::string header
 Small header image (header.jpg, 460x215).
std::string heroImage
 Wide banner/hero image (library_hero.jpg).
std::string icon
 Small square icon (icon.jpg).
std::string logo
 Game logo with transparency (logo.png).
std::string verticalCover
 Vertical cover art (library_600x900.jpg).

Detailed Description

Paths to various game image assets.

Stores paths to different image types for a game. For Steam games, these typically point directly to Steam's cache directory. For other games, they may point to downloaded/cached images.

Definition at line 495 of file game.h.

Member Data Documentation

◆ capsule

std::string GameImagePaths::capsule

Store capsule image (capsule_616x353.jpg).

Definition at line 501 of file game.h.

Referenced by SteamCDN::discoverImages(), and GameDatabase::insertGame().

◆ header

std::string GameImagePaths::header

Small header image (header.jpg, 460x215).

Definition at line 500 of file game.h.

Referenced by SteamCDN::discoverImages(), GameLibrary::discoverImagesForGame(), GameDatabase::insertGame(), and GameLibrary::refreshStaleImages().

◆ heroImage

std::string GameImagePaths::heroImage

◆ icon

std::string GameImagePaths::icon

Small square icon (icon.jpg).

Definition at line 502 of file game.h.

Referenced by SteamCDN::discoverImages(), GameDatabase::insertGame(), and ScannedGame::toGame().

◆ logo

std::string GameImagePaths::logo

Game logo with transparency (logo.png).

Definition at line 499 of file game.h.

Referenced by SteamCDN::discoverImages(), and GameDatabase::insertGame().

◆ verticalCover


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