mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-28 23:55:52 +03:00
a1445b757d
CW-Bug-Id: #22729
329 lines
22 KiB
C++
329 lines
22 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_148a/steam_api.h"
|
|
#include "steamworks_sdk_148a/steamnetworkingtypes.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_148a
|
|
#include "struct_converters.h"
|
|
#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h"
|
|
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011
|
|
{
|
|
#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;
|
|
#endif /* __cplusplus */
|
|
};
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->RequestCurrentStats( );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetStat( params->pchName, params->pData );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetStat( params->pchName, params->pData );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->SetStat( params->pchName, params->nData );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->SetStat( params->pchName, params->fData );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->SetAchievement( params->pchName );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->ClearAchievement( params->pchName );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetAchievementAndUnlockTime( params->pchName, params->pbAchieved, params->punUnlockTime );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->StoreStats( );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetAchievementIcon( params->pchName );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetNumAchievements( );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetAchievementName( params->iAchievement );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->RequestUserStats( params->steamIDUser );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetUserAchievementAndUnlockTime( params->steamIDUser, params->pchName, params->pbAchieved, params->punUnlockTime );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->ResetAllStats( params->bAchievementsToo );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->FindLeaderboard( params->pchLeaderboardName );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->DownloadLeaderboardEntriesForUsers( params->hSteamLeaderboard, params->prgUsers, params->cUsers );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
LeaderboardEntry_t lin_pLeaderboardEntry;
|
|
win_to_lin_struct_LeaderboardEntry_t_148a( params->pLeaderboardEntry, &lin_pLeaderboardEntry );
|
|
params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, &lin_pLeaderboardEntry, params->pDetails, params->cDetailsMax );
|
|
lin_to_win_struct_LeaderboardEntry_t_148a( &lin_pLeaderboardEntry, params->pLeaderboardEntry );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->AttachLeaderboardUGC( params->hSteamLeaderboard, params->hUGC );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetNumberOfCurrentPlayers( );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->RequestGlobalAchievementPercentages( );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetMostAchievedAchievementInfo( params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetNextMostAchievedAchievementInfo( params->iIteratorPrevious, params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetAchievementAchievedPercent( params->pchName, params->pflPercent );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->RequestGlobalStats( params->nHistoryDays );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData );
|
|
}
|
|
|
|
void cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2( struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params *params )
|
|
{
|
|
struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side;
|
|
params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData );
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|