mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 16:24:31 +01:00
parent
9a98c4ff35
commit
acb9c7a193
391 changed files with 19128 additions and 5873 deletions
|
|
@ -11,44 +11,67 @@ extern "C" {
|
|||
#define SDKVER_102x
|
||||
#include "struct_converters.h"
|
||||
#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h"
|
||||
|
||||
struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001
|
||||
{
|
||||
#ifdef __cplusplus
|
||||
virtual bool FileWrite( const char *, const void *, int32_t ) = 0;
|
||||
virtual int32_t GetFileSize( const char * ) = 0;
|
||||
virtual int32_t FileRead( const char *, void *, int32_t ) = 0;
|
||||
virtual bool FileExists( const char * ) = 0;
|
||||
virtual bool FileDelete( const char * ) = 0;
|
||||
virtual int32_t GetFileCount( ) = 0;
|
||||
virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0;
|
||||
virtual bool GetQuota( int32_t *, int32_t * ) = 0;
|
||||
#endif /* __cplusplus */
|
||||
};
|
||||
|
||||
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite_params *params )
|
||||
{
|
||||
params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileWrite( (const char *)params->pchFile, (const void *)params->pvData, (int32)params->cubData );
|
||||
struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side;
|
||||
params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData );
|
||||
}
|
||||
|
||||
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize_params *params )
|
||||
{
|
||||
params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileSize( (const char *)params->pchFile );
|
||||
struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side;
|
||||
params->_ret = iface->GetFileSize( params->pchFile );
|
||||
}
|
||||
|
||||
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead_params *params )
|
||||
{
|
||||
params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileRead( (const char *)params->pchFile, (void *)params->pvData, (int32)params->cubDataToRead );
|
||||
struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side;
|
||||
params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead );
|
||||
}
|
||||
|
||||
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists_params *params )
|
||||
{
|
||||
params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileExists( (const char *)params->pchFile );
|
||||
struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side;
|
||||
params->_ret = iface->FileExists( params->pchFile );
|
||||
}
|
||||
|
||||
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete_params *params )
|
||||
{
|
||||
params->_ret = ((ISteamRemoteStorage*)params->linux_side)->FileDelete( (const char *)params->pchFile );
|
||||
struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side;
|
||||
params->_ret = iface->FileDelete( params->pchFile );
|
||||
}
|
||||
|
||||
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_params *params )
|
||||
{
|
||||
params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileCount( );
|
||||
struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side;
|
||||
params->_ret = iface->GetFileCount( );
|
||||
}
|
||||
|
||||
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params *params )
|
||||
{
|
||||
params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetFileNameAndSize( (int)params->iFile, (int32 *)params->pnFileSizeInBytes );
|
||||
struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side;
|
||||
params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes );
|
||||
}
|
||||
|
||||
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota_params *params )
|
||||
{
|
||||
params->_ret = ((ISteamRemoteStorage*)params->linux_side)->GetQuota( (int32 *)params->pnTotalBytes, (int32 *)params->puAvailableBytes );
|
||||
struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side;
|
||||
params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes );
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue