2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 14:45:23 +00:00

lsteamclient: Wrap parameters in structures.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-09-27 14:34:23 +02:00
committed by Arkadiusz Hiler
parent e4d75b2fb0
commit 6b21c32d2a
439 changed files with 109952 additions and 43685 deletions

View File

@@ -11,98 +11,74 @@ extern "C" {
#define SDKVER_117
#include "struct_converters.h"
#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h"
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(void *linux_side)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed_params *params )
{
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsSubscribed();
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribed( );
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(void *linux_side)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence_params *params )
{
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsLowViolence();
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->BIsLowViolence( );
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(void *linux_side)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe_params *params )
{
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsCybercafe();
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->BIsCybercafe( );
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(void *linux_side)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params *params )
{
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsVACBanned();
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->BIsVACBanned( );
}
const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(void *linux_side)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params *params )
{
const char *_ret;
_ret = ((ISteamApps*)linux_side)->GetCurrentGameLanguage();
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentGameLanguage( );
}
const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(void *linux_side)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params *params )
{
const char *_ret;
_ret = ((ISteamApps*)linux_side)->GetAvailableGameLanguages();
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->GetAvailableGameLanguages( );
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(void *linux_side, AppId_t appID)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params *params )
{
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID);
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedApp( (AppId_t)params->appID );
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(void *linux_side, AppId_t appID)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled_params *params )
{
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID);
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->BIsDlcInstalled( (AppId_t)params->appID );
}
uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime_params *params )
{
uint32 _ret;
_ret = ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID);
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->GetEarliestPurchaseUnixTime( (AppId_t)params->nAppID );
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(void *linux_side)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend_params *params )
{
bool _ret;
_ret = ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend();
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedFromFreeWeekend( );
}
int cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(void *linux_side)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount_params *params )
{
int _ret;
_ret = ((ISteamApps*)linux_side)->GetDLCCount();
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->GetDLCCount( );
}
bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex_params *params )
{
bool _ret;
_ret = ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize);
return (_ret);
params->_ret = ((ISteamApps*)params->linux_side)->BGetDLCDataByIndex( (int)params->iDLC, (AppId_t *)params->pAppID, (bool *)params->pbAvailable, (char *)params->pchName, (int)params->cchNameBufferSize );
}
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(void *linux_side, AppId_t nAppID)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC_params *params )
{
((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID);
((ISteamApps*)params->linux_side)->InstallDLC( (AppId_t)params->nAppID );
}
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(void *linux_side, AppId_t nAppID)
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC_params *params )
{
((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID);
((ISteamApps*)params->linux_side)->UninstallDLC( (AppId_t)params->nAppID );
}
#ifdef __cplusplus