2018-01-18 17:24:05 +01:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats, 12)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute, 20)
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(struct w_steam_iface *_this, CGameID nGameID)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iStat)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.iStat = iStat,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(struct w_steam_iface *_this, CGameID nGameID)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iAchievement)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.iAchievement = iAchievement,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(struct w_steam_iface *_this, CGameID nGameID)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iAchievement)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.iAchievement = iAchievement,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(struct w_steam_iface *_this, CGameID nGameID)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32_t *pData)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float *pData)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32_t nData)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float fData)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int8_t *pbAchieved)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int8_t *pbAchieved)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(struct w_steam_iface *_this, CGameID nGameID)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, const char *pchKey)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtable;
|
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute)
|
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2020-08-11 19:39:33 +02:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001(void *u_iface)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION001");
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtable, 22, "STEAMUSERSTATS_INTERFACE_VERSION001");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2023-09-20 23:58:12 +02:00
|
|
|
return r;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats, 12)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress, 24)
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(struct w_steam_iface *_this, CGameID nGameID)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iStat)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.iStat = iStat,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(struct w_steam_iface *_this, CGameID nGameID)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iAchievement)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.iAchievement = iAchievement,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(struct w_steam_iface *_this, CGameID nGameID)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32_t *pData)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float *pData)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32_t nData)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float fData)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int8_t *pbAchieved)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(struct w_steam_iface *_this, CGameID nGameID)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(struct w_steam_iface *_this, CGameID nGameID, const char *pchName)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, const char *pchKey)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nGameID = nGameID,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2020-08-11 19:39:33 +02:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtable;
|
2020-08-11 19:39:33 +02:00
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress)
|
2020-08-11 19:39:33 +02:00
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2020-08-11 19:39:33 +02:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002(void *u_iface)
|
2020-08-11 19:39:33 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION002");
|
2020-08-11 19:39:33 +02:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtable, 18, "STEAMUSERSTATS_INTERFACE_VERSION002");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2020-08-11 19:39:33 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress, 16)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtable;
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress)
|
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003(void *u_iface)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION003");
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtable, 13, "STEAMUSERSTATS_INTERFACE_VERSION003");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2023-09-20 23:58:12 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement, 20)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtable;
|
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement)
|
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2023-09-20 23:58:12 +02:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004(void *u_iface)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION004");
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtable, 17, "STEAMUSERSTATS_INTERFACE_VERSION004");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2023-09-20 23:58:12 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore, 24)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAchievementsToo = bAchievementsToo,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
.eLeaderboardSortMethod = eLeaderboardSortMethod,
|
|
|
|
.eLeaderboardDisplayType = eLeaderboardDisplayType,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardDataRequest = eLeaderboardDataRequest,
|
|
|
|
.nRangeStart = nRangeStart,
|
|
|
|
.nRangeEnd = nRangeEnd,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_104 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboardEntries = hSteamLeaderboardEntries,
|
|
|
|
.index = index,
|
|
|
|
.pLeaderboardEntry = pLeaderboardEntry,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
.cDetailsMax = cDetailsMax,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, int32_t nScore, int32_t *pScoreDetails, int32_t cScoreDetailsCount)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.nScore = nScore,
|
|
|
|
.pScoreDetails = pScoreDetails,
|
|
|
|
.cScoreDetailsCount = cScoreDetailsCount,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtable;
|
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore)
|
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2023-09-20 23:58:12 +02:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005(void *u_iface)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION005");
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtable, 27, "STEAMUSERSTATS_INTERFACE_VERSION005");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2023-09-20 23:58:12 +02:00
|
|
|
return r;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers, 4)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAchievementsToo = bAchievementsToo,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
.eLeaderboardSortMethod = eLeaderboardSortMethod,
|
|
|
|
.eLeaderboardDisplayType = eLeaderboardDisplayType,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardDataRequest = eLeaderboardDataRequest,
|
|
|
|
.nRangeStart = nRangeStart,
|
|
|
|
.nRangeEnd = nRangeEnd,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_104 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboardEntries = hSteamLeaderboardEntries,
|
|
|
|
.index = index,
|
|
|
|
.pLeaderboardEntry = pLeaderboardEntry,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
.cDetailsMax = cDetailsMax,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod,
|
|
|
|
.nScore = nScore,
|
|
|
|
.pScoreDetails = pScoreDetails,
|
|
|
|
.cScoreDetailsCount = cScoreDetailsCount,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(struct w_steam_iface *_this)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtable;
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers)
|
2018-01-18 17:24:05 +01:00
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006(void *u_iface)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION006");
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtable, 28, "STEAMUSERSTATS_INTERFACE_VERSION006");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 17:24:05 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2, 12)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers, 4)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(struct w_steam_iface *_this)
|
2023-09-23 20:52:28 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-23 20:52:28 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-23 20:52:28 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2023-09-23 20:52:28 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2023-09-23 20:52:28 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-23 20:52:28 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAchievementsToo = bAchievementsToo,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
.eLeaderboardSortMethod = eLeaderboardSortMethod,
|
|
|
|
.eLeaderboardDisplayType = eLeaderboardDisplayType,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardDataRequest = eLeaderboardDataRequest,
|
|
|
|
.nRangeStart = nRangeStart,
|
|
|
|
.nRangeEnd = nRangeEnd,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_104 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboardEntries = hSteamLeaderboardEntries,
|
|
|
|
.index = index,
|
|
|
|
.pLeaderboardEntry = pLeaderboardEntry,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
.cDetailsMax = cDetailsMax,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod,
|
|
|
|
.nScore = nScore,
|
|
|
|
.pScoreDetails = pScoreDetails,
|
|
|
|
.cScoreDetailsCount = cScoreDetailsCount,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtable;
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers)
|
2018-01-18 17:24:05 +01:00
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007(void *u_iface)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION007");
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtable, 30, "STEAMUSERSTATS_INTERFACE_VERSION007");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 17:24:05 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2019-02-05 22:06:21 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers, 4)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(struct w_steam_iface *_this)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(struct w_steam_iface *_this)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAchievementsToo = bAchievementsToo,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
.eLeaderboardSortMethod = eLeaderboardSortMethod,
|
|
|
|
.eLeaderboardDisplayType = eLeaderboardDisplayType,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardDataRequest = eLeaderboardDataRequest,
|
|
|
|
.nRangeStart = nRangeStart,
|
|
|
|
.nRangeEnd = nRangeEnd,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_111x *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboardEntries = hSteamLeaderboardEntries,
|
|
|
|
.index = index,
|
|
|
|
.pLeaderboardEntry = pLeaderboardEntry,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
.cDetailsMax = cDetailsMax,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod,
|
|
|
|
.nScore = nScore,
|
|
|
|
.pScoreDetails = pScoreDetails,
|
|
|
|
.cScoreDetailsCount = cScoreDetailsCount,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.hUGC = hUGC,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(struct w_steam_iface *_this)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-05 22:06:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_vtable;
|
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_vtables)
|
2019-02-05 22:06:21 +01:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers)
|
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2019-02-05 22:06:21 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008(void *u_iface)
|
2019-02-05 22:06:21 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION008");
|
2019-02-05 22:06:21 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2022-06-24 05:02:39 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_vtable, 31, "STEAMUSERSTATS_INTERFACE_VERSION008");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2019-02-05 22:06:21 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers, 4)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAchievementsToo = bAchievementsToo,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
.eLeaderboardSortMethod = eLeaderboardSortMethod,
|
|
|
|
.eLeaderboardDisplayType = eLeaderboardDisplayType,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardDataRequest = eLeaderboardDataRequest,
|
|
|
|
.nRangeStart = nRangeStart,
|
|
|
|
.nRangeEnd = nRangeEnd,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, CSteamID *prgUsers, int32_t cUsers)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.prgUsers = prgUsers,
|
|
|
|
.cUsers = cUsers,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_111x *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboardEntries = hSteamLeaderboardEntries,
|
|
|
|
.index = index,
|
|
|
|
.pLeaderboardEntry = pLeaderboardEntry,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
.cDetailsMax = cDetailsMax,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod,
|
|
|
|
.nScore = nScore,
|
|
|
|
.pScoreDetails = pScoreDetails,
|
|
|
|
.cScoreDetailsCount = cScoreDetailsCount,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.hUGC = hUGC,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(struct w_steam_iface *_this)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtable;
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers)
|
2018-01-18 17:24:05 +01:00
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009(void *u_iface)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION009");
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtable, 32, "STEAMUSERSTATS_INTERFACE_VERSION009");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 17:24:05 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2, 16)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAchievementsToo = bAchievementsToo,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
.eLeaderboardSortMethod = eLeaderboardSortMethod,
|
|
|
|
.eLeaderboardDisplayType = eLeaderboardDisplayType,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardDataRequest = eLeaderboardDataRequest,
|
|
|
|
.nRangeStart = nRangeStart,
|
|
|
|
.nRangeEnd = nRangeEnd,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, CSteamID *prgUsers, int32_t cUsers)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.prgUsers = prgUsers,
|
|
|
|
.cUsers = cUsers,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_111x *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboardEntries = hSteamLeaderboardEntries,
|
|
|
|
.index = index,
|
|
|
|
.pLeaderboardEntry = pLeaderboardEntry,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
.cDetailsMax = cDetailsMax,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod,
|
|
|
|
.nScore = nScore,
|
|
|
|
.pScoreDetails = pScoreDetails,
|
|
|
|
.cScoreDetailsCount = cScoreDetailsCount,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.hUGC = hUGC,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(struct w_steam_iface *_this, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.unNameBufLen = unNameBufLen,
|
|
|
|
.pflPercent = pflPercent,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(struct w_steam_iface *_this, int32_t iIteratorPrevious, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iIteratorPrevious = iIteratorPrevious,
|
|
|
|
.pchName = pchName,
|
|
|
|
.unNameBufLen = unNameBufLen,
|
|
|
|
.pflPercent = pflPercent,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(struct w_steam_iface *_this, const char *pchName, float *pflPercent)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pflPercent = pflPercent,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(struct w_steam_iface *_this, int32_t nHistoryDays)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nHistoryDays = nHistoryDays,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(struct w_steam_iface *_this, const char *pchStatName, double *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData, uint32_t cubData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
.cubData = cubData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(struct w_steam_iface *_this, const char *pchStatName, double *pData, uint32_t cubData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
.cubData = cubData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtable;
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory)
|
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010(void *u_iface)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION010");
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtable, 41, "STEAMUSERSTATS_INTERFACE_VERSION010");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2023-09-20 23:58:12 +02:00
|
|
|
return r;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2, 16)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(struct w_steam_iface *_this, uint32_t iAchievement)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iAchievement = iAchievement,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAchievementsToo = bAchievementsToo,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
.eLeaderboardSortMethod = eLeaderboardSortMethod,
|
|
|
|
.eLeaderboardDisplayType = eLeaderboardDisplayType,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardDataRequest = eLeaderboardDataRequest,
|
|
|
|
.nRangeStart = nRangeStart,
|
|
|
|
.nRangeEnd = nRangeEnd,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, CSteamID *prgUsers, int32_t cUsers)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.prgUsers = prgUsers,
|
|
|
|
.cUsers = cUsers,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_123 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboardEntries = hSteamLeaderboardEntries,
|
|
|
|
.index = index,
|
|
|
|
.pLeaderboardEntry = pLeaderboardEntry,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
.cDetailsMax = cDetailsMax,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod,
|
|
|
|
.nScore = nScore,
|
|
|
|
.pScoreDetails = pScoreDetails,
|
|
|
|
.cScoreDetailsCount = cScoreDetailsCount,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.hUGC = hUGC,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(struct w_steam_iface *_this)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(struct w_steam_iface *_this, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.unNameBufLen = unNameBufLen,
|
|
|
|
.pflPercent = pflPercent,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(struct w_steam_iface *_this, int32_t iIteratorPrevious, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iIteratorPrevious = iIteratorPrevious,
|
|
|
|
.pchName = pchName,
|
|
|
|
.unNameBufLen = unNameBufLen,
|
|
|
|
.pflPercent = pflPercent,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(struct w_steam_iface *_this, const char *pchName, float *pflPercent)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pflPercent = pflPercent,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(struct w_steam_iface *_this, int32_t nHistoryDays)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nHistoryDays = nHistoryDays,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(struct w_steam_iface *_this, const char *pchStatName, double *pData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData, uint32_t cubData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
.cubData = cubData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(struct w_steam_iface *_this, const char *pchStatName, double *pData, uint32_t cubData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
.cubData = cubData,
|
|
|
|
};
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtable;
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory)
|
2018-01-18 17:24:05 +01:00
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 17:24:05 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011(void *u_iface)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION011");
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtable, 43, "STEAMUSERSTATS_INTERFACE_VERSION011");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 17:24:05 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2, 16)
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(struct w_steam_iface *_this)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nData = nData,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.fData = fData,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.flCountThisSession = flCountThisSession,
|
|
|
|
.dSessionLength = dSessionLength,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(struct w_steam_iface *_this, const char *pchName)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(struct w_steam_iface *_this, const char *pchName)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(struct w_steam_iface *_this)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pchKey = pchKey,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
|
|
|
IsBadStringPtrA(pchKey, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.nCurProgress = nCurProgress,
|
|
|
|
.nMaxProgress = nMaxProgress,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(struct w_steam_iface *_this)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(struct w_steam_iface *_this, uint32_t iAchievement)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iAchievement = iAchievement,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
};
|
2019-02-06 16:19:39 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
|
2019-02-06 16:19:39 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 16:19:39 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
2019-02-06 18:15:19 +01:00
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
.punUnlockTime = punUnlockTime,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
2019-02-06 18:15:19 +01:00
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAchievementsToo = bAchievementsToo,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
.eLeaderboardSortMethod = eLeaderboardSortMethod,
|
|
|
|
.eLeaderboardDisplayType = eLeaderboardDisplayType,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchLeaderboardName = pchLeaderboardName,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchLeaderboardName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardDataRequest = eLeaderboardDataRequest,
|
|
|
|
.nRangeStart = nRangeStart,
|
|
|
|
.nRangeEnd = nRangeEnd,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, CSteamID *prgUsers, int32_t cUsers)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.prgUsers = prgUsers,
|
|
|
|
.cUsers = cUsers,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_123 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboardEntries = hSteamLeaderboardEntries,
|
|
|
|
.index = index,
|
|
|
|
.pLeaderboardEntry = pLeaderboardEntry,
|
|
|
|
.pDetails = pDetails,
|
|
|
|
.cDetailsMax = cDetailsMax,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod,
|
|
|
|
.nScore = nScore,
|
|
|
|
.pScoreDetails = pScoreDetails,
|
|
|
|
.cScoreDetailsCount = cScoreDetailsCount,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hSteamLeaderboard = hSteamLeaderboard,
|
|
|
|
.hUGC = hUGC,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(struct w_steam_iface *_this)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(struct w_steam_iface *_this)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(struct w_steam_iface *_this, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.unNameBufLen = unNameBufLen,
|
|
|
|
.pflPercent = pflPercent,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(struct w_steam_iface *_this, int32_t iIteratorPrevious, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.iIteratorPrevious = iIteratorPrevious,
|
|
|
|
.pchName = pchName,
|
|
|
|
.unNameBufLen = unNameBufLen,
|
|
|
|
.pflPercent = pflPercent,
|
|
|
|
.pbAchieved = pbAchieved,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(struct w_steam_iface *_this, const char *pchName, float *pflPercent)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pflPercent = pflPercent,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(struct w_steam_iface *_this, int32_t nHistoryDays)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nHistoryDays = nHistoryDays,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(struct w_steam_iface *_this, const char *pchStatName, double *pData)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData, uint32_t cubData)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
.cubData = cubData,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(struct w_steam_iface *_this, const char *pchStatName, double *pData, uint32_t cubData)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchStatName = pchStatName,
|
|
|
|
.pData = pData,
|
|
|
|
.cubData = cubData,
|
|
|
|
};
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchStatName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2019-02-06 18:15:19 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(struct w_steam_iface *_this, const char *pchName, int32_t *pnMinProgress, int32_t *pnMaxProgress)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pnMinProgress = pnMinProgress,
|
|
|
|
.pnMaxProgress = pnMaxProgress,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(struct w_steam_iface *_this, const char *pchName, float *pfMinProgress, float *pfMaxProgress)
|
2023-09-20 23:58:12 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchName = pchName,
|
|
|
|
.pfMinProgress = pfMinProgress,
|
|
|
|
.pfMaxProgress = pfMaxProgress,
|
|
|
|
};
|
2023-09-20 23:58:12 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-12-14 03:09:27 +01:00
|
|
|
IsBadStringPtrA(pchName, -1);
|
2023-09-30 13:08:49 +02:00
|
|
|
STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2023-09-20 23:58:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtable;
|
2019-02-06 18:15:19 +01:00
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012, 0, ".?AVISteamUserStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012,
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2)
|
|
|
|
VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits)
|
2019-02-06 18:15:19 +01:00
|
|
|
);
|
2022-10-22 21:22:27 +02:00
|
|
|
__ASM_BLOCK_END
|
2019-02-06 18:15:19 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012(void *u_iface)
|
2019-02-06 18:15:19 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION012");
|
2019-02-06 18:15:19 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtable, 45, "STEAMUSERSTATS_INTERFACE_VERSION012");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2019-02-06 18:15:19 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
void init_winISteamUserStats_rtti( char *base )
|
|
|
|
{
|
|
|
|
#ifdef __x86_64__
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_rtti( base );
|
|
|
|
init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_rtti( base );
|
|
|
|
#endif /* __x86_64__ */
|
|
|
|
}
|