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
438 B
C++
13 lines
438 B
C++
#include <store_mode/steamclient/steamclient.hpp>
|
|
#include <steam_impl/steam_apps.hpp>
|
|
|
|
VIRTUAL(bool) IClientAppManager_IsAppDlcInstalled(PARAMS(AppId_t app_id, AppId_t dlc_id)) {
|
|
return steam_apps::IsDlcUnlocked(
|
|
__func__, app_id, dlc_id, [&]() {
|
|
GET_ORIGINAL_HOOKED_FUNCTION(IClientAppManager_IsAppDlcInstalled)
|
|
|
|
return IClientAppManager_IsAppDlcInstalled_o(ARGS(app_id, dlc_id));
|
|
}
|
|
);
|
|
}
|