2019-02-06 00:06:21 +03:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 11:43:23 +03:00
|
|
|
#define __cdecl
|
2019-02-06 00:06:21 +03:00
|
|
|
#include "steamworks_sdk_111x/steam_api.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2019-02-06 00:06:21 +03:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 18:05:29 +03:00
|
|
|
#define SDKVER_111x
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008
|
|
|
|
{
|
|
|
|
#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 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 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;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->RequestCurrentStats( );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetStat( params->pchName, params->pData );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetStat( params->pchName, params->pData );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->SetStat( params->pchName, params->nData );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->SetStat( params->pchName, params->fData );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->SetAchievement( params->pchName );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->ClearAchievement( params->pchName );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementAndUnlockTime( params->pchName, params->pbAchieved, params->punUnlockTime );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->StoreStats( );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementIcon( params->pchName );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->RequestUserStats( params->steamIDUser );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetUserAchievementAndUnlockTime( params->steamIDUser, params->pchName, params->pbAchieved, params->punUnlockTime );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->ResetAllStats( params->bAchievementsToo );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->FindLeaderboard( params->pchLeaderboardName );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
2019-02-06 00:06:21 +03:00
|
|
|
LeaderboardEntry_t lin_pLeaderboardEntry;
|
2023-09-27 15:34:23 +03:00
|
|
|
win_to_lin_struct_LeaderboardEntry_t_111x( 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_111x( &lin_pLeaderboardEntry, params->pLeaderboardEntry );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->AttachLeaderboardUGC( params->hSteamLeaderboard, params->hUGC );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params *params )
|
2019-02-06 00:06:21 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetNumberOfCurrentPlayers( );
|
2019-02-06 00:06:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|