2019-02-05 22:06:21 +01:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2019-02-05 22:06:21 +01:00
|
|
|
#include "steamworks_sdk_111x/steam_api.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma pop_macro("__cdecl")
|
2019-02-05 22:06:21 +01:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 16:05:29 +01:00
|
|
|
#define SDKVER_111x
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h"
|
2019-02-05 22:06:21 +01:00
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData);
|
|
|
|
}
|
|
|
|
|
|
|
|
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetFileCount();
|
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(void *linux_side, bool bEnabled)
|
|
|
|
{
|
|
|
|
((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled);
|
|
|
|
}
|
|
|
|
|
|
|
|
SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(void *linux_side, UGCHandle_t hContent)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner);
|
|
|
|
}
|
|
|
|
|
|
|
|
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead);
|
|
|
|
}
|
|
|
|
|
|
|
|
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount();
|
|
|
|
}
|
|
|
|
|
|
|
|
UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(void *linux_side, int32 iCachedContent)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|