2020-08-11 20:39:33 +03:00
|
|
|
#include "steam_defs.h"
|
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 11:43:23 +03:00
|
|
|
#define __cdecl
|
2023-09-18 16:58:31 +03:00
|
|
|
#include "steamworks_sdk_158/steam_api.h"
|
|
|
|
#include "steamworks_sdk_158/steamnetworkingtypes.h"
|
2020-08-11 20:39:33 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2023-09-18 16:58:31 +03:00
|
|
|
#define SDKVER_158
|
2020-08-11 20:39:33 +03:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012
|
|
|
|
{
|
|
|
|
#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 GetAchievementAndUnlockTime( const char *, bool *, uint32_t * ) = 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 uint32_t GetNumAchievements( ) = 0;
|
|
|
|
virtual const char * GetAchievementName( 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;
|
|
|
|
virtual bool GetUserAchievementAndUnlockTime( CSteamID, const char *, bool *, uint32_t * ) = 0;
|
|
|
|
virtual bool ResetAllStats( bool ) = 0;
|
|
|
|
virtual uint64_t FindOrCreateLeaderboard( const char *, uint32_t, uint32_t ) = 0;
|
|
|
|
virtual uint64_t FindLeaderboard( const char * ) = 0;
|
|
|
|
virtual const char * GetLeaderboardName( uint64_t ) = 0;
|
|
|
|
virtual int32_t GetLeaderboardEntryCount( uint64_t ) = 0;
|
|
|
|
virtual uint32_t GetLeaderboardSortMethod( uint64_t ) = 0;
|
|
|
|
virtual uint32_t GetLeaderboardDisplayType( uint64_t ) = 0;
|
|
|
|
virtual uint64_t DownloadLeaderboardEntries( uint64_t, uint32_t, int32_t, int32_t ) = 0;
|
|
|
|
virtual uint64_t DownloadLeaderboardEntriesForUsers( uint64_t, CSteamID *, int32_t ) = 0;
|
|
|
|
virtual bool GetDownloadedLeaderboardEntry( uint64_t, int32_t, LeaderboardEntry_t *, int32_t *, int32_t ) = 0;
|
|
|
|
virtual uint64_t UploadLeaderboardScore( uint64_t, uint32_t, int32_t, const int32_t *, int32_t ) = 0;
|
|
|
|
virtual uint64_t AttachLeaderboardUGC( uint64_t, uint64_t ) = 0;
|
|
|
|
virtual uint64_t GetNumberOfCurrentPlayers( ) = 0;
|
|
|
|
virtual uint64_t RequestGlobalAchievementPercentages( ) = 0;
|
|
|
|
virtual int32_t GetMostAchievedAchievementInfo( char *, uint32_t, float *, bool * ) = 0;
|
|
|
|
virtual int32_t GetNextMostAchievedAchievementInfo( int32_t, char *, uint32_t, float *, bool * ) = 0;
|
|
|
|
virtual bool GetAchievementAchievedPercent( const char *, float * ) = 0;
|
|
|
|
virtual uint64_t RequestGlobalStats( int32_t ) = 0;
|
|
|
|
virtual bool GetGlobalStat( const char *, int64_t * ) = 0;
|
|
|
|
virtual bool GetGlobalStat( const char *, double * ) = 0;
|
|
|
|
virtual int32_t GetGlobalStatHistory( const char *, int64_t *, uint32_t ) = 0;
|
|
|
|
virtual int32_t GetGlobalStatHistory( const char *, double *, uint32_t ) = 0;
|
|
|
|
virtual bool GetAchievementProgressLimits( const char *, int32_t *, int32_t * ) = 0;
|
|
|
|
virtual bool GetAchievementProgressLimits( const char *, float *, float * ) = 0;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->RequestCurrentStats( );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetStat( params->pchName, params->pData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetStat( params->pchName, params->pData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->SetStat( params->pchName, params->nData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->SetStat( params->pchName, params->fData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->SetAchievement( params->pchName );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->ClearAchievement( params->pchName );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementAndUnlockTime( params->pchName, params->pbAchieved, params->punUnlockTime );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->StoreStats( );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementIcon( params->pchName );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetNumAchievements( );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementName( params->iAchievement );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->RequestUserStats( params->steamIDUser );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetUserAchievementAndUnlockTime( params->steamIDUser, params->pchName, params->pbAchieved, params->punUnlockTime );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->ResetAllStats( params->bAchievementsToo );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->FindLeaderboard( params->pchLeaderboardName );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->DownloadLeaderboardEntriesForUsers( params->hSteamLeaderboard, params->prgUsers, params->cUsers );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
2020-08-11 20:39:33 +03:00
|
|
|
LeaderboardEntry_t lin_pLeaderboardEntry;
|
2023-09-27 15:34:23 +03:00
|
|
|
win_to_lin_struct_LeaderboardEntry_t_158( params->pLeaderboardEntry, &lin_pLeaderboardEntry );
|
2023-09-24 00:44:45 +03:00
|
|
|
params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, &lin_pLeaderboardEntry, params->pDetails, params->cDetailsMax );
|
2023-09-27 15:34:23 +03:00
|
|
|
lin_to_win_struct_LeaderboardEntry_t_158( &lin_pLeaderboardEntry, params->pLeaderboardEntry );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->AttachLeaderboardUGC( params->hSteamLeaderboard, params->hUGC );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetNumberOfCurrentPlayers( );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->RequestGlobalAchievementPercentages( );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetMostAchievedAchievementInfo( params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetNextMostAchievedAchievementInfo( params->iIteratorPrevious, params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementAchievedPercent( params->pchName, params->pflPercent );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->RequestGlobalStats( params->nHistoryDays );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementProgressLimits( params->pchName, params->pnMinProgress, params->pnMaxProgress );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params *params )
|
2020-08-11 20:39:33 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementProgressLimits( params->pchName, params->pfMinProgress, params->pfMaxProgress );
|
2020-08-11 20:39:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|