mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2025-12-05 21:15:39 -05:00
Updated README [skip ci]
This commit is contained in:
@@ -28,7 +28,7 @@ configure_linker_exports(
|
||||
FORWARDED_DLL "${STEAMAPI_DLL}_o"
|
||||
INPUT_SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src/game_mode/exports"
|
||||
INPUT_DLLS "${DLL_INPUT}"
|
||||
DEP_SOURCES "${STEAM_API_EXPORTS}" # Is this redundant?
|
||||
DEP_SOURCES "${STEAM_API_EXPORTS}"
|
||||
)
|
||||
|
||||
configure_build_config(extra_build_config)
|
||||
|
||||
@@ -140,7 +140,8 @@ The configuration file is expected to conform to the Json standard.
|
||||
Type::: Boolean
|
||||
Default::: `false`
|
||||
|
||||
`unlock_family_sharing`:: Toggles Family Sharing bypass, which enables the borrower of a shared library to start and continue playing games when library owner is playing as well.
|
||||
`unlock_family_sharing`:: *_Store mode only_*.
|
||||
Toggles Family Sharing bypass, which enables the borrower of a shared library to start and continue playing games when library owner is playing as well.
|
||||
+
|
||||
[horizontal]
|
||||
Type::: Boolean
|
||||
@@ -203,7 +204,8 @@ The format is the same as in the aforementioned GitHub config.
|
||||
Type::: Object (Map of String to Object)
|
||||
Default::: `{}`
|
||||
|
||||
`store_config`:: An object that specifies offsets required for store mode operation.
|
||||
`store_config`:: *_Store mode only_*.
|
||||
An object that specifies offsets required for store mode operation.
|
||||
It will override the config fetched from {steam_config}[remote source] or local cache.
|
||||
Do not modify this value unless you know what you are doing.
|
||||
+
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace api {
|
||||
|
||||
std::optional<Vector<DLC>> fetch_dlcs_from_steam(AppId_t app_id) noexcept {
|
||||
try {
|
||||
// TODO: Communicate directly with Steam servers.
|
||||
// ref.: https://github.com/SteamRE/SteamKit
|
||||
const auto url = fmt::format("https://store.steampowered.com/dlc/{}/ajaxgetdlclist", app_id);
|
||||
const auto json = koalabox::http_client::fetch_json(url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user