2018-01-18 19:24:05 +03:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 11:43:23 +03:00
|
|
|
#define __cdecl
|
2023-09-18 16:58:31 +03:00
|
|
|
#include "steamworks_sdk_158/steam_api.h"
|
|
|
|
#include "steamworks_sdk_158/steamnetworkingtypes.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 22:06:46 +03:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2023-09-18 16:58:31 +03:00
|
|
|
#define SDKVER_158
|
2019-02-26 18:05:29 +03:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsSubscribed();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsLowViolence();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsCybercafe();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsVACBanned();
|
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetCurrentGameLanguage();
|
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetAvailableGameLanguages();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(void *linux_side, AppId_t appID)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(void *linux_side, AppId_t appID)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID);
|
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend();
|
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetDLCCount();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(void *linux_side, AppId_t nAppID)
|
|
|
|
{
|
|
|
|
((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(void *linux_side, AppId_t nAppID)
|
|
|
|
{
|
|
|
|
((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(void *linux_side, AppId_t nAppID)
|
|
|
|
{
|
|
|
|
((ISteamApps*)linux_side)->RequestAppProofOfPurchaseKey((AppId_t)nAppID);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(void *linux_side, char * pchName, int cchNameBufferSize)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly);
|
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(void *linux_side, AppId_t appID, DepotId_t * pvecDepots, uint32 cMaxDepots)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetInstalledDepots((AppId_t)appID, (DepotId_t *)pvecDepots, (uint32)cMaxDepots);
|
|
|
|
}
|
|
|
|
|
|
|
|
uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(void *linux_side, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(void *linux_side, AppId_t appID)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID);
|
|
|
|
}
|
|
|
|
|
|
|
|
CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetAppOwner();
|
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(void *linux_side, const char * pchKey)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetLaunchQueryParam((const char *)pchKey);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(void *linux_side, AppId_t nAppID, uint64 * punBytesDownloaded, uint64 * punBytesTotal)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetDlcDownloadProgress((AppId_t)nAppID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal);
|
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetAppBuildId();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamApps*)linux_side)->RequestAllProofOfPurchaseKeys();
|
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(void *linux_side, const char * pszFileName)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetFileDetails((const char *)pszFileName);
|
|
|
|
}
|
|
|
|
|
2019-02-25 18:44:23 +03:00
|
|
|
int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(void *linux_side, char * pszCommandLine, int cubCommandLine)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->GetLaunchCommandLine((char *)pszCommandLine, (int)cubCommandLine);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsSubscribedFromFamilySharing();
|
|
|
|
}
|
|
|
|
|
2020-08-11 20:39:33 +03:00
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(void *linux_side, uint32 * punSecondsAllowed, uint32 * punSecondsPlayed)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->BIsTimedTrial((uint32 *)punSecondsAllowed, (uint32 *)punSecondsPlayed);
|
|
|
|
}
|
|
|
|
|
2023-02-23 23:59:37 +03:00
|
|
|
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(void *linux_side, AppId_t nAppID)
|
|
|
|
{
|
|
|
|
return ((ISteamApps*)linux_side)->SetDlcContext((AppId_t)nAppID);
|
|
|
|
}
|
|
|
|
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|