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
parent 9a98c4ff35
commit acb9c7a193
391 changed files with 19128 additions and 5873 deletions

View file

@ -11,89 +11,130 @@ extern "C" {
#define SDKVER_103
#include "struct_converters.h"
#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h"
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004
{
#ifdef __cplusplus
virtual bool RequestCurrentStats( ) = 0;
virtual bool GetStat( const char *, int32_t * ) = 0;
virtual bool GetStat( const char *, float * ) = 0;
virtual bool SetStat( const char *, int32_t ) = 0;
virtual bool SetStat( const char *, float ) = 0;
virtual bool UpdateAvgRateStat( const char *, float, double ) = 0;
virtual bool GetAchievement( const char *, bool * ) = 0;
virtual bool SetAchievement( const char * ) = 0;
virtual bool ClearAchievement( const char * ) = 0;
virtual bool StoreStats( ) = 0;
virtual int32_t GetAchievementIcon( const char * ) = 0;
virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0;
virtual bool IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0;
virtual uint64_t RequestUserStats( CSteamID ) = 0;
virtual bool GetUserStat( CSteamID, const char *, int32_t * ) = 0;
virtual bool GetUserStat( CSteamID, const char *, float * ) = 0;
virtual bool GetUserAchievement( CSteamID, const char *, bool * ) = 0;
#endif /* __cplusplus */
};
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->RequestCurrentStats( );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->RequestCurrentStats( );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (int32 *)params->pData );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->GetStat( params->pchName, params->pData );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->GetStat( (const char *)params->pchName, (float *)params->pData );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->GetStat( params->pchName, params->pData );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (int32)params->nData );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->SetStat( params->pchName, params->nData );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->SetStat( (const char *)params->pchName, (float)params->fData );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->SetStat( params->pchName, params->fData );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->UpdateAvgRateStat( (const char *)params->pchName, (float)params->flCountThisSession, (double)params->dSessionLength );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievement( (const char *)params->pchName, (bool *)params->pbAchieved );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->SetAchievement( (const char *)params->pchName );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->SetAchievement( params->pchName );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->ClearAchievement( (const char *)params->pchName );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->ClearAchievement( params->pchName );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->StoreStats( );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->StoreStats( );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementIcon( (const char *)params->pchName );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->GetAchievementIcon( params->pchName );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->GetAchievementDisplayAttribute( (const char *)params->pchName, (const char *)params->pchKey );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->IndicateAchievementProgress( (const char *)params->pchName, (uint32)params->nCurProgress, (uint32)params->nMaxProgress );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->RequestUserStats( (CSteamID)params->steamIDUser );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->RequestUserStats( params->steamIDUser );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (int32 *)params->pData );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserStat( (CSteamID)params->steamIDUser, (const char *)params->pchName, (float *)params->pData );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
}
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params *params )
{
params->_ret = ((ISteamUserStats*)params->linux_side)->GetUserAchievement( (CSteamID)params->steamIDUser, (const char *)params->pchName, (bool *)params->pbAchieved );
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved );
}
#ifdef __cplusplus