Proton/lsteamclient/winISteamGameServerStats.c
2024-02-15 15:53:24 +02:00

139 lines
6.2 KiB
C

/* This file is auto-generated, do not edit. */
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
#include "steam_defs.h"
#include "steamclient_private.h"
#include "struct_converters.h"
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
#include "cppISteamGameServerStats_SteamGameServerStats001.h"
DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_RequestUserStats, 12)
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)
SteamAPICall_t __thiscall winISteamGameServerStats_SteamGameServerStats001_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
{
SteamAPICall_t _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(_this->u_iface, steamIDUser);
return _ret;
}
bool __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 *pData)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_GetUserStat(_this->u_iface, steamIDUser, pchName, pData);
return _ret;
}
bool __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(_this->u_iface, steamIDUser, pchName, pData);
return _ret;
}
bool __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, bool *pbAchieved)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(_this->u_iface, steamIDUser, pchName, pbAchieved);
return _ret;
}
bool __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32 nData)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_SetUserStat(_this->u_iface, steamIDUser, pchName, nData);
return _ret;
}
bool __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float fData)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(_this->u_iface, steamIDUser, pchName, fData);
return _ret;
}
bool __thiscall winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float flCountThisSession, double dSessionLength)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(_this->u_iface, steamIDUser, pchName, flCountThisSession, dSessionLength);
return _ret;
}
bool __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(_this->u_iface, steamIDUser, pchName);
return _ret;
}
bool __thiscall winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(_this->u_iface, steamIDUser, pchName);
return _ret;
}
SteamAPICall_t __thiscall winISteamGameServerStats_SteamGameServerStats001_StoreUserStats(struct w_steam_iface *_this, CSteamID steamIDUser)
{
SteamAPICall_t _ret;
TRACE("%p\n", _this);
_ret = cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats(_this->u_iface, steamIDUser);
return _ret;
}
extern vtable_ptr winISteamGameServerStats_SteamGameServerStats001_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winISteamGameServerStats_SteamGameServerStats001,
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_RequestUserStats)
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2)
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_GetUserStat)
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_GetUserAchievement)
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2)
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_SetUserStat)
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat)
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement)
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement)
VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_StoreUserStats)
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winISteamGameServerStats_SteamGameServerStats001(void *u_iface)
{
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServerStats001");
TRACE("-> %p\n", r);
r->vtable = alloc_vtable(&winISteamGameServerStats_SteamGameServerStats001_vtable, 10, "SteamGameServerStats001");
r->u_iface = u_iface;
return r;
}