2023-09-30 15:02:30 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2019-02-26 18:05:29 +03:00
|
|
|
#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004
|
2023-09-24 00:44:45 +03:00
|
|
|
{
|
|
|
|
#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 */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->RequestCurrentStats( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetStat( params->pchName, params->pData );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetStat( params->pchName, params->pData );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->SetStat( params->pchName, params->nData );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->SetStat( params->pchName, params->fData );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->SetAchievement( params->pchName );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->ClearAchievement( params->pchName );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->StoreStats( );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetAchievementIcon( params->pchName );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->RequestUserStats( params->steamIDUser );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 15:02:30 +03:00
|
|
|
struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side;
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|