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);
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_RequestUserStats, 12)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_GetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_GetUserAchievement, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_SetUserStat, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_StoreUserStats, 12)
|
|
|
|
|
2023-09-19 19:59:23 +02:00
|
|
|
uint64_t __thiscall winISteamGameServerStats_SteamGameServerStats001_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 ISteamGameServerStats_SteamGameServerStats001_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( ISteamGameServerStats_SteamGameServerStats001_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 winISteamGameServerStats_SteamGameServerStats001_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 ISteamGameServerStats_SteamGameServerStats001_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( ISteamGameServerStats_SteamGameServerStats001_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 winISteamGameServerStats_SteamGameServerStats001_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 ISteamGameServerStats_SteamGameServerStats001_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( ISteamGameServerStats_SteamGameServerStats001_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 winISteamGameServerStats_SteamGameServerStats001_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 ISteamGameServerStats_SteamGameServerStats001_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( ISteamGameServerStats_SteamGameServerStats001_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 winISteamGameServerStats_SteamGameServerStats001_SetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t nData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.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( ISteamGameServerStats_SteamGameServerStats001_SetUserStat, ¶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 winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float fData)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.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( ISteamGameServerStats_SteamGameServerStats001_SetUserStat_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 winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float flCountThisSession, double dSessionLength)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.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( ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat, ¶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 winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.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( ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement, ¶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 winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement_params params =
|
2023-09-27 14:34:23 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.steamIDUser = steamIDUser,
|
|
|
|
.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( ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement, ¶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 winISteamGameServerStats_SteamGameServerStats001_StoreUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamGameServerStats_SteamGameServerStats001_StoreUserStats_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( ISteamGameServerStats_SteamGameServerStats001_StoreUserStats, ¶ms );
|
2023-09-27 14:34:23 +02:00
|
|
|
return params._ret;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamGameServerStats_SteamGameServerStats001_vtable;
|
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
DEFINE_RTTI_DATA0(winISteamGameServerStats_SteamGameServerStats001, 0, ".?AVISteamGameServerStats@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamGameServerStats_SteamGameServerStats001_vtables)
|
2018-01-18 17:24:05 +01:00
|
|
|
__ASM_VTABLE(winISteamGameServerStats_SteamGameServerStats001,
|
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_RequestUserStats)
|
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2)
|
2018-09-05 22:10:48 +02:00
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_GetUserStat)
|
2018-01-18 17:24:05 +01:00
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_GetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2)
|
2018-09-05 22:10:48 +02:00
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_SetUserStat)
|
2018-01-18 17:24:05 +01:00
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat)
|
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement)
|
|
|
|
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_StoreUserStats)
|
|
|
|
);
|
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_winISteamGameServerStats_SteamGameServerStats001(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), "SteamGameServerStats001");
|
2018-01-18 17:24:05 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2022-06-24 05:02:39 +02:00
|
|
|
r->vtable = alloc_vtable(&winISteamGameServerStats_SteamGameServerStats001_vtable, 10, "SteamGameServerStats001");
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 17:24:05 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
void init_winISteamGameServerStats_rtti( char *base )
|
|
|
|
{
|
|
|
|
#ifdef __x86_64__
|
|
|
|
init_winISteamGameServerStats_SteamGameServerStats001_rtti( base );
|
|
|
|
#endif /* __x86_64__ */
|
|
|
|
}
|