Proton/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp

136 lines
4.8 KiB
C++
Raw Normal View History

2018-01-18 19:24:05 +03:00
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#define __cdecl
2018-01-18 19:24:05 +03:00
#include "steamworks_sdk_103/steam_api.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
2018-01-18 19:24:05 +03:00
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_103
#include "struct_converters.h"
#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h"
2018-01-18 19:24:05 +03:00
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(void *linux_side)
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->RequestCurrentStats();
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(void *linux_side, const char *pchName, int32 *pData)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(void *linux_side, const char *pchName, float *pData)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(void *linux_side, const char *pchName, int32 nData)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(void *linux_side, const char *pchName, float fData)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(void *linux_side, const char *pchName, float flCountThisSession, double dSessionLength)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(void *linux_side, const char *pchName, bool *pbAchieved)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(void *linux_side, const char *pchName)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(void *linux_side, const char *pchName)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(void *linux_side)
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->StoreStats();
return (_ret);
2018-01-18 19:24:05 +03:00
}
int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(void *linux_side, const char *pchName)
2018-01-18 19:24:05 +03:00
{
int _ret;
_ret = ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName);
return (_ret);
2018-01-18 19:24:05 +03:00
}
const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(void *linux_side, const char *pchName, const char *pchKey)
2018-01-18 19:24:05 +03:00
{
const char * _ret;
_ret = ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(void *linux_side, const char *pchName, uint32 nCurProgress, uint32 nMaxProgress)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress);
return (_ret);
2018-01-18 19:24:05 +03:00
}
SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(void *linux_side, CSteamID steamIDUser)
{
SteamAPICall_t _ret;
_ret = ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(void *linux_side, CSteamID steamIDUser, const char *pchName, int32 *pData)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char *pchName, float *pData)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData);
return (_ret);
2018-01-18 19:24:05 +03:00
}
bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char *pchName, bool *pbAchieved)
2018-01-18 19:24:05 +03:00
{
bool _ret;
_ret = ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved);
return (_ret);
2018-01-18 19:24:05 +03:00
}
#ifdef __cplusplus
}
#endif