2019-02-06 15:27:56 +01:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2019-02-06 15:27:56 +01:00
|
|
|
#include "steamworks_sdk_102x/steam_api.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma pop_macro("__cdecl")
|
2019-02-06 15:27:56 +01:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 16:05:29 +01:00
|
|
|
#define SDKVER_102x
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h"
|
2019-02-06 15:27:56 +01:00
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_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_VERSION001_GetFileSize(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_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_VERSION001_FileExists(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(void *linux_side, const char * pchFile)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetFileCount();
|
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes)
|
|
|
|
{
|
|
|
|
return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|