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.
22 lines
720 B
C++
22 lines
720 B
C++
#include <steam_impl/steam_client.hpp>
|
|
|
|
DLL_EXPORT(void*) SteamInternal_FindOrCreateUserInterface(HSteamUser hSteamUser, const char* version) {
|
|
return steam_client::GetGenericInterface(
|
|
__func__, version, [&]() {
|
|
GET_ORIGINAL_FUNCTION_STEAMAPI(SteamInternal_FindOrCreateUserInterface)
|
|
|
|
return SteamInternal_FindOrCreateUserInterface_o(hSteamUser, version);
|
|
}
|
|
);
|
|
}
|
|
|
|
DLL_EXPORT(void*) SteamInternal_CreateInterface(const char* version) {
|
|
return steam_client::GetGenericInterface(
|
|
__func__, version, [&]() {
|
|
GET_ORIGINAL_FUNCTION_STEAMAPI(SteamInternal_CreateInterface)
|
|
|
|
return SteamInternal_CreateInterface_o(version);
|
|
}
|
|
);
|
|
}
|