lsteamclient: Generate linux interface structs.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-23 23:44:45 +02:00 committed by Arkadiusz Hiler
parent 4988734817
commit a1445b757d
391 changed files with 19128 additions and 5873 deletions

View file

@ -11,39 +11,60 @@ extern "C" {
#define SDKVER_103
#include "struct_converters.h"
#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h"
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002
{
#ifdef __cplusplus
virtual bool BIsSubscribed( ) = 0;
virtual bool BIsLowViolence( ) = 0;
virtual bool BIsCybercafe( ) = 0;
virtual bool BIsVACBanned( ) = 0;
virtual const char * GetCurrentGameLanguage( ) = 0;
virtual const char * GetAvailableGameLanguages( ) = 0;
virtual bool BIsSubscribedApp( uint32_t ) = 0;
#endif /* __cplusplus */
};
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed_params *params )
{
params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribed( );
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->BIsSubscribed( );
}
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence_params *params )
{
params->_ret = ((ISteamApps*)params->linux_side)->BIsLowViolence( );
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->BIsLowViolence( );
}
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe_params *params )
{
params->_ret = ((ISteamApps*)params->linux_side)->BIsCybercafe( );
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->BIsCybercafe( );
}
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params *params )
{
params->_ret = ((ISteamApps*)params->linux_side)->BIsVACBanned( );
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->BIsVACBanned( );
}
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params *params )
{
params->_ret = ((ISteamApps*)params->linux_side)->GetCurrentGameLanguage( );
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->GetCurrentGameLanguage( );
}
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params *params )
{
params->_ret = ((ISteamApps*)params->linux_side)->GetAvailableGameLanguages( );
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->GetAvailableGameLanguages( );
}
void cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp( struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params *params )
{
params->_ret = ((ISteamApps*)params->linux_side)->BIsSubscribedApp( (AppId_t)params->appID );
struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct cppISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->BIsSubscribedApp( params->appID );
}
#ifdef __cplusplus