diff options
Diffstat (limited to 'lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp')
-rw-r--r-- | lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp new file mode 100644 index 00000000..6c17bfe9 --- /dev/null +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp @@ -0,0 +1,45 @@ +#include "steamclient_private.h" +#include "steam_defs.h" +#include "steamworks_sdk_111/steam_api.h" +#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h" +#ifdef __cplusplus +extern "C" { +#endif +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_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_VERSION002_GetFileSize(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); +} + +int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_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_VERSION002_FileExists(void *linux_side, const char * pchFile) +{ + return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); +} + +int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(void *linux_side) +{ + return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); +} + +const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +{ + return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); +} + +bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +{ + return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); +} + +#ifdef __cplusplus +} +#endif |