mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2025-12-05 21:15:39 -05:00
13 lines
376 B
C++
13 lines
376 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_VIRTUAL_FUNCTION(IClientUser_BIsSubscribedApp)
|
|
|
|
return IClientUser_BIsSubscribedApp_o(ARGS(app_id));
|
|
});
|
|
}
|