Latest Steam API integration

This commit is contained in:
Michael Dirks
2015-09-19 19:21:45 +02:00
parent 2224ab3724
commit 00aae96f83
5 changed files with 74 additions and 6 deletions
+2 -1
View File
@@ -15,6 +15,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "dllmain.h"
#include "Helpers/CSteamID.h"
DLL_EXPORT uint32_t DLL_CALL BlitzSteamApps_IsSubscribed(ISteamApps* lpSteamApps) {
return lpSteamApps->BIsSubscribed();
@@ -118,7 +119,7 @@ DLL_EXPORT uint32_t DLL_CALL BlitzSteamApps_IsAppInstalled(ISteamApps* lpSteamAp
DLL_EXPORT CSteamID* DLL_CALL BlitzSteamApps_GetAppOwner(ISteamApps* lpSteamApps) {
CSteamID* steamID = new CSteamID(lpSteamApps->GetAppOwner());
return BlitzCSteamID_Copy(steamID);
return BlitzSteamCSteamID_Copy(steamID);
}
#pragma comment(linker, "/EXPORT:BlitzSteamApps_GetAppOwner=_BlitzSteamApps_GetAppOwner@4")