SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
steampp::Steam Class Reference

#include <steampp.h>

Public Member Functions

 Steam ()
const std::filesystem::path & getInstallDir () const
std::span< const std::filesystem::path > getLibraryDirs () const
std::filesystem::path getSourceModDir () const
std::vector< AppIDgetInstalledApps () const
bool isAppInstalled (AppID appID) const
std::string_view getAppName (AppID appID) const
std::filesystem::path getAppInstallDir (AppID appID) const
std::filesystem::path getAppIconPath (AppID appID) const
std::filesystem::path getAppLogoPath (AppID appID) const
std::filesystem::path getAppHeroPath (AppID appID) const
std::filesystem::path getAppBoxArtPath (AppID appID) const
std::filesystem::path getAppStoreArtPath (AppID appID) const
bool isAppUsingGoldSrcEngine (AppID appID) const
bool isAppUsingSourceEngine (AppID appID) const
bool isAppUsingSource2Engine (AppID appID) const
 operator bool () const

Detailed Description

Definition at line 21 of file steampp.h.

Constructor & Destructor Documentation

◆ Steam()

Steam::Steam ( )

Definition at line 138 of file steampp.cpp.

Member Function Documentation

◆ getAppBoxArtPath()

std::filesystem::path Steam::getAppBoxArtPath ( AppID appID) const
nodiscard

Definition at line 368 of file steampp.cpp.

◆ getAppHeroPath()

std::filesystem::path Steam::getAppHeroPath ( AppID appID) const
nodiscard

Definition at line 351 of file steampp.cpp.

◆ getAppIconPath()

std::filesystem::path Steam::getAppIconPath ( AppID appID) const
nodiscard

Definition at line 317 of file steampp.cpp.

◆ getAppInstallDir()

std::filesystem::path Steam::getAppInstallDir ( AppID appID) const
nodiscard

Definition at line 310 of file steampp.cpp.

◆ getAppLogoPath()

std::filesystem::path Steam::getAppLogoPath ( AppID appID) const
nodiscard

Definition at line 334 of file steampp.cpp.

◆ getAppName()

std::string_view Steam::getAppName ( AppID appID) const
nodiscard

Definition at line 303 of file steampp.cpp.

◆ getAppStoreArtPath()

std::filesystem::path Steam::getAppStoreArtPath ( AppID appID) const
nodiscard

Definition at line 385 of file steampp.cpp.

◆ getInstallDir()

const std::filesystem::path & Steam::getInstallDir ( ) const
nodiscard

Definition at line 282 of file steampp.cpp.

◆ getInstalledApps()

std::vector< AppID > Steam::getInstalledApps ( ) const
nodiscard

Definition at line 294 of file steampp.cpp.

◆ getLibraryDirs()

std::span< const std::filesystem::path > Steam::getLibraryDirs ( ) const
nodiscard

Definition at line 286 of file steampp.cpp.

◆ getSourceModDir()

std::filesystem::path Steam::getSourceModDir ( ) const
nodiscard

Definition at line 290 of file steampp.cpp.

◆ isAppInstalled()

bool Steam::isAppInstalled ( AppID appID) const
nodiscard

Definition at line 299 of file steampp.cpp.

◆ isAppUsingGoldSrcEngine()

bool Steam::isAppUsingGoldSrcEngine ( AppID appID) const
nodiscard

Definition at line 402 of file steampp.cpp.

◆ isAppUsingSource2Engine()

bool Steam::isAppUsingSource2Engine ( AppID appID) const
nodiscard

Definition at line 410 of file steampp.cpp.

◆ isAppUsingSourceEngine()

bool Steam::isAppUsingSourceEngine ( AppID appID) const
nodiscard

Definition at line 406 of file steampp.cpp.

◆ operator bool()

Steam::operator bool ( ) const
explicitnodiscard

Definition at line 414 of file steampp.cpp.


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