mirror of https://github.com/acidicoala/SmokeAPI
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
375 B
C++
13 lines
375 B
C++
#include <smoke_api/smoke_api.hpp>
|
|
#include <steam_impl/steam_apps.hpp>
|
|
|
|
using namespace smoke_api;
|
|
|
|
VIRTUAL(bool) IClientUser_BIsSubscribedApp(PARAMS(AppId_t app_id)) {
|
|
return steam_apps::IsDlcUnlocked(__func__, 0, app_id, [&]() {
|
|
GET_ORIGINAL_HOOKED_FUNCTION(IClientUser_BIsSubscribedApp)
|
|
|
|
return IClientUser_BIsSubscribedApp_o(ARGS(app_id));
|
|
});
|
|
}
|