Fixed inventory regression

This commit is contained in:
acidicoala
2025-08-29 01:25:24 +05:00
parent 09e1187ab0
commit eac7e87880
4 changed files with 17 additions and 4 deletions

View File

@@ -11,8 +11,7 @@
},
"$version": {
"type": "integer",
"minimum": 0,
"default": 4,
"const": 4,
"description": "A technical field reserved for tools like GUI config editors. Do not modify this value."
},
"logging": {

View File

@@ -80,7 +80,6 @@ namespace smoke_api {
}
LOG_INFO("{} v{} | Built at '{}'", PROJECT_NAME, PROJECT_VERSION, __TIMESTAMP__);
LOG_DEBUG("Parsed config:\n{}", nlohmann::ordered_json(config::instance).dump(2));
const auto exe_path = kb::win::get_module_path(nullptr);

View File

@@ -77,6 +77,21 @@ namespace {
}
}
},
{
STEAM_INVENTORY,
interface_data{
.fallback_version = "STEAMINVENTORY_INTERFACE_V003",
.entry_map = {
ENTRY(ISteamInventory, GetResultStatus),
ENTRY(ISteamInventory, GetResultItems),
ENTRY(ISteamInventory, CheckResultSteamID),
ENTRY(ISteamInventory, GetAllItems),
ENTRY(ISteamInventory, GetItemsByID),
ENTRY(ISteamInventory, SerializeResult),
ENTRY(ISteamInventory, GetItemDefinitionIDs),
}
}
},
{
STEAM_USER,
interface_data{