mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-01-26 14:32:54 -05:00
Refactored hook calls
This commit is contained in:
@@ -108,7 +108,8 @@ namespace steam_apps {
|
||||
|
||||
bool IsDlcUnlocked(
|
||||
const String& function_name,
|
||||
AppId_t app_id, AppId_t dlc_id,
|
||||
AppId_t app_id,
|
||||
AppId_t dlc_id,
|
||||
const std::function<bool()>& original_function
|
||||
) {
|
||||
try {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include <smoke_api/smoke_api.hpp>
|
||||
#include <koalabox/koalabox.hpp>
|
||||
#include <steam_functions/steam_functions.hpp>
|
||||
|
||||
namespace steam_client {
|
||||
using namespace smoke_api;
|
||||
using namespace koalabox;
|
||||
|
||||
void* GetGenericInterface(
|
||||
const String& function_name,
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
#include <smoke_api/smoke_api.hpp>
|
||||
#include <koalabox/koalabox.hpp>
|
||||
#include <steam_functions/steam_functions.hpp>
|
||||
|
||||
using namespace smoke_api;
|
||||
|
||||
namespace steam_user {
|
||||
using namespace koalabox;
|
||||
|
||||
EUserHasLicenseForAppResult UserHasLicenseForApp(
|
||||
const String& function_name,
|
||||
|
||||
Reference in New Issue
Block a user