From bdca0aa9c987bb31d46be119e18e1f55e1d6eb8a Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Fri, 15 Feb 2019 15:06:17 -0600 Subject: [PATCH] lsteamclient: Support SteamGameStats001 --- .../cppISteamGameStats_SteamGameStats001.cpp | 77 +++++++++ .../cppISteamGameStats_SteamGameStats001.h | 19 +++ lsteamclient/gen_wrapper.py | 3 + .../steamworks_sdk_108/isteamgamestats.h | 2 + .../steamworks_sdk_109/isteamgamestats.h | 2 + .../steamworks_sdk_110/isteamgamestats.h | 2 + .../steamworks_sdk_111/isteamgamestats.h | 2 + .../steamworks_sdk_111x/isteamgamestats.h | 2 + .../steamworks_sdk_112/isteamgamestats.h | 2 + .../steamworks_sdk_112x/isteamgamestats.h | 2 + .../steamworks_sdk_113/isteamgamestats.h | 2 + .../steamworks_sdk_114/isteamgamestats.h | 2 + .../steamworks_sdk_115/isteamgamestats.h | 2 + .../steamworks_sdk_116/isteamgamestats.h | 2 + .../steamworks_sdk_116x/isteamgamestats.h | 2 + .../steamworks_sdk_117/isteamgamestats.h | 2 + lsteamclient/winISteamGameStats.c | 146 ++++++++++++++++++ lsteamclient/win_constructors.h | 1 + lsteamclient/win_constructors_table.dat | 1 + 19 files changed, 273 insertions(+) create mode 100644 lsteamclient/cppISteamGameStats_SteamGameStats001.cpp create mode 100644 lsteamclient/cppISteamGameStats_SteamGameStats001.h create mode 100644 lsteamclient/winISteamGameStats.c diff --git a/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp b/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp new file mode 100644 index 00000000..d67624df --- /dev/null +++ b/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp @@ -0,0 +1,77 @@ +#include "steam_defs.h" +#include "steamworks_sdk_117/steam_api.h" +#include "steamworks_sdk_117/isteamgamestats.h" +#include "steamclient_private.h" +#include "cppISteamGameStats_SteamGameStats001.h" +#ifdef __cplusplus +extern "C" { +#endif +#include "struct_converters_117.h" +SteamAPICall_t cppISteamGameStats_SteamGameStats001_GetNewSession(void *linux_side, int8 nAccountType, uint64 ulAccountID, int32 nAppID, RTime32 rtTimeStarted) +{ + return ((ISteamGameStats*)linux_side)->GetNewSession((int8)nAccountType, (uint64)ulAccountID, (int32)nAppID, (RTime32)rtTimeStarted); +} + +SteamAPICall_t cppISteamGameStats_SteamGameStats001_EndSession(void *linux_side, uint64 ulSessionID, RTime32 rtTimeEnded, int nReasonCode) +{ + return ((ISteamGameStats*)linux_side)->EndSession((uint64)ulSessionID, (RTime32)rtTimeEnded, (int)nReasonCode); +} + +EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt(void *linux_side, uint64 ulSessionID, const char * pstrName, int32 nData) +{ + return ((ISteamGameStats*)linux_side)->AddSessionAttributeInt((uint64)ulSessionID, (const char *)pstrName, (int32)nData); +} + +EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeString(void *linux_side, uint64 ulSessionID, const char * pstrName, const char * pstrData) +{ + return ((ISteamGameStats*)linux_side)->AddSessionAttributeString((uint64)ulSessionID, (const char *)pstrName, (const char *)pstrData); +} + +EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(void *linux_side, uint64 ulSessionID, const char * pstrName, float fData) +{ + return ((ISteamGameStats*)linux_side)->AddSessionAttributeFloat((uint64)ulSessionID, (const char *)pstrName, (float)fData); +} + +EResult cppISteamGameStats_SteamGameStats001_AddNewRow(void *linux_side, uint64 * pulRowID, uint64 ulSessionID, const char * pstrTableName) +{ + return ((ISteamGameStats*)linux_side)->AddNewRow((uint64 *)pulRowID, (uint64)ulSessionID, (const char *)pstrTableName); +} + +EResult cppISteamGameStats_SteamGameStats001_CommitRow(void *linux_side, uint64 ulRowID) +{ + return ((ISteamGameStats*)linux_side)->CommitRow((uint64)ulRowID); +} + +EResult cppISteamGameStats_SteamGameStats001_CommitOutstandingRows(void *linux_side, uint64 ulSessionID) +{ + return ((ISteamGameStats*)linux_side)->CommitOutstandingRows((uint64)ulSessionID); +} + +EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt(void *linux_side, uint64 ulRowID, const char * pstrName, int32 nData) +{ + return ((ISteamGameStats*)linux_side)->AddRowAttributeInt((uint64)ulRowID, (const char *)pstrName, (int32)nData); +} + +EResult cppISteamGameStats_SteamGameStats001_AddRowAtributeString(void *linux_side, uint64 ulRowID, const char * pstrName, const char * pstrData) +{ + return ((ISteamGameStats*)linux_side)->AddRowAtributeString((uint64)ulRowID, (const char *)pstrName, (const char *)pstrData); +} + +EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat(void *linux_side, uint64 ulRowID, const char * pstrName, float fData) +{ + return ((ISteamGameStats*)linux_side)->AddRowAttributeFloat((uint64)ulRowID, (const char *)pstrName, (float)fData); +} + +EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(void *linux_side, uint64 ulSessionID, const char * pstrName, int64 llData) +{ + return ((ISteamGameStats*)linux_side)->AddSessionAttributeInt64((uint64)ulSessionID, (const char *)pstrName, (int64)llData); +} + +EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64(void *linux_side, uint64 ulRowID, const char * pstrName, int64 llData) +{ + return ((ISteamGameStats*)linux_side)->AddRowAttributeInt64((uint64)ulRowID, (const char *)pstrName, (int64)llData); +} + +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/cppISteamGameStats_SteamGameStats001.h b/lsteamclient/cppISteamGameStats_SteamGameStats001.h new file mode 100644 index 00000000..a73625de --- /dev/null +++ b/lsteamclient/cppISteamGameStats_SteamGameStats001.h @@ -0,0 +1,19 @@ +#ifdef __cplusplus +extern "C" { +#endif +extern SteamAPICall_t cppISteamGameStats_SteamGameStats001_GetNewSession(void *, int8, uint64, int32, RTime32); +extern SteamAPICall_t cppISteamGameStats_SteamGameStats001_EndSession(void *, uint64, RTime32, int); +extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt(void *, uint64, const char *, int32); +extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeString(void *, uint64, const char *, const char *); +extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(void *, uint64, const char *, float); +extern EResult cppISteamGameStats_SteamGameStats001_AddNewRow(void *, uint64 *, uint64, const char *); +extern EResult cppISteamGameStats_SteamGameStats001_CommitRow(void *, uint64); +extern EResult cppISteamGameStats_SteamGameStats001_CommitOutstandingRows(void *, uint64); +extern EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt(void *, uint64, const char *, int32); +extern EResult cppISteamGameStats_SteamGameStats001_AddRowAtributeString(void *, uint64, const char *, const char *); +extern EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat(void *, uint64, const char *, float); +extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(void *, uint64, const char *, int64); +extern EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64(void *, uint64, const char *, int64); +#ifdef __cplusplus +} +#endif diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index a6bd3d69..d0117b42 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -115,6 +115,9 @@ files = [ ("isteamgameserverstats.h", [ "ISteamGameServerStats" ]), + ("isteamgamestats.h", [ + "ISteamGameStats" + ]), ("isteammasterserverupdater.h", [ "ISteamMasterServerUpdater" ]), diff --git a/lsteamclient/steamworks_sdk_108/isteamgamestats.h b/lsteamclient/steamworks_sdk_108/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_108/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_108/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_109/isteamgamestats.h b/lsteamclient/steamworks_sdk_109/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_109/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_109/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_110/isteamgamestats.h b/lsteamclient/steamworks_sdk_110/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_110/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_110/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_111/isteamgamestats.h b/lsteamclient/steamworks_sdk_111/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_111/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_111/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_111x/isteamgamestats.h b/lsteamclient/steamworks_sdk_111x/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_111x/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_111x/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_112/isteamgamestats.h b/lsteamclient/steamworks_sdk_112/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_112/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_112/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_112x/isteamgamestats.h b/lsteamclient/steamworks_sdk_112x/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_112x/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_112x/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_113/isteamgamestats.h b/lsteamclient/steamworks_sdk_113/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_113/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_113/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_114/isteamgamestats.h b/lsteamclient/steamworks_sdk_114/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_114/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_114/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_115/isteamgamestats.h b/lsteamclient/steamworks_sdk_115/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_115/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_115/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_116/isteamgamestats.h b/lsteamclient/steamworks_sdk_116/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_116/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_116/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_116x/isteamgamestats.h b/lsteamclient/steamworks_sdk_116x/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_116x/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_116x/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/steamworks_sdk_117/isteamgamestats.h b/lsteamclient/steamworks_sdk_117/isteamgamestats.h index 57681f48..623f01e3 100644 --- a/lsteamclient/steamworks_sdk_117/isteamgamestats.h +++ b/lsteamclient/steamworks_sdk_117/isteamgamestats.h @@ -10,6 +10,8 @@ #pragma once #endif +#include "isteamclient.h" + //----------------------------------------------------------------------------- // Purpose: Functions for recording game play sessions and details thereof //----------------------------------------------------------------------------- diff --git a/lsteamclient/winISteamGameStats.c b/lsteamclient/winISteamGameStats.c new file mode 100644 index 00000000..b0af70ab --- /dev/null +++ b/lsteamclient/winISteamGameStats.c @@ -0,0 +1,146 @@ +/* This file is auto-generated, do not edit. */ +#include + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +#include "cxx.h" + +#include "steam_defs.h" + +#include "steamclient_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); + +#include "cppISteamGameStats_SteamGameStats001.h" + +typedef struct __winISteamGameStats_SteamGameStats001 { + vtable_ptr *vtable; + void *linux_side; +} winISteamGameStats_SteamGameStats001; + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_GetNewSession, 24) +SteamAPICall_t __thiscall winISteamGameStats_SteamGameStats001_GetNewSession(winISteamGameStats_SteamGameStats001 *_this, int8 nAccountType, uint64 ulAccountID, int32 nAppID, RTime32 rtTimeStarted) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_GetNewSession(_this->linux_side, nAccountType, ulAccountID, nAppID, rtTimeStarted); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_EndSession, 20) +SteamAPICall_t __thiscall winISteamGameStats_SteamGameStats001_EndSession(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, RTime32 rtTimeEnded, int nReasonCode) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_EndSession(_this->linux_side, ulSessionID, rtTimeEnded, nReasonCode); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt, 20) +EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, const char * pstrName, int32 nData) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt(_this->linux_side, ulSessionID, pstrName, nData); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeString, 20) +EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeString(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, const char * pstrName, const char * pstrData) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_AddSessionAttributeString(_this->linux_side, ulSessionID, pstrName, pstrData); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat, 20) +EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, const char * pstrName, float fData) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(_this->linux_side, ulSessionID, pstrName, fData); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddNewRow, 20) +EResult __thiscall winISteamGameStats_SteamGameStats001_AddNewRow(winISteamGameStats_SteamGameStats001 *_this, uint64 * pulRowID, uint64 ulSessionID, const char * pstrTableName) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_AddNewRow(_this->linux_side, pulRowID, ulSessionID, pstrTableName); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_CommitRow, 12) +EResult __thiscall winISteamGameStats_SteamGameStats001_CommitRow(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_CommitRow(_this->linux_side, ulRowID); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_CommitOutstandingRows, 12) +EResult __thiscall winISteamGameStats_SteamGameStats001_CommitOutstandingRows(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_CommitOutstandingRows(_this->linux_side, ulSessionID); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeInt, 20) +EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID, const char * pstrName, int32 nData) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_AddRowAttributeInt(_this->linux_side, ulRowID, pstrName, nData); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAtributeString, 20) +EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAtributeString(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID, const char * pstrName, const char * pstrData) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_AddRowAtributeString(_this->linux_side, ulRowID, pstrName, pstrData); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeFloat, 20) +EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeFloat(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID, const char * pstrName, float fData) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat(_this->linux_side, ulRowID, pstrName, fData); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64, 24) +EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, const char * pstrName, int64 llData) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(_this->linux_side, ulSessionID, pstrName, llData); +} + +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeInt64, 24) +EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt64(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID, const char * pstrName, int64 llData) +{ + TRACE("%p\n", _this); + return cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64(_this->linux_side, ulRowID, pstrName, llData); +} + +extern vtable_ptr winISteamGameStats_SteamGameStats001_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winISteamGameStats_SteamGameStats001, + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_GetNewSession) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_EndSession) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddSessionAttributeString) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddNewRow) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_CommitRow) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_CommitOutstandingRows) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddRowAttributeInt) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddRowAtributeString) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddRowAttributeFloat) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64) + VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddRowAttributeInt64) + ); +#ifndef __GNUC__ +} +#endif + +winISteamGameStats_SteamGameStats001 *create_winISteamGameStats_SteamGameStats001(void *linux_side) +{ + winISteamGameStats_SteamGameStats001 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamGameStats_SteamGameStats001)); + TRACE("-> %p\n", r); + r->vtable = &winISteamGameStats_SteamGameStats001_vtable; + r->linux_side = linux_side; + return r; +} + diff --git a/lsteamclient/win_constructors.h b/lsteamclient/win_constructors.h index b5323f0d..4adc0fa0 100644 --- a/lsteamclient/win_constructors.h +++ b/lsteamclient/win_constructors.h @@ -76,6 +76,7 @@ extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010(void *); extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005(void *); extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION004(void *); +extern void *create_winISteamGameStats_SteamGameStats001(void *); extern void *create_winISteamFriends_SteamFriends010(void *); extern void *create_winISteamClient_SteamClient011(void *); extern void *create_winISteamFriends_SteamFriends009(void *); diff --git a/lsteamclient/win_constructors_table.dat b/lsteamclient/win_constructors_table.dat index 7d0cd9fe..7144b9e9 100644 --- a/lsteamclient/win_constructors_table.dat +++ b/lsteamclient/win_constructors_table.dat @@ -76,6 +76,7 @@ {"STEAMUSERSTATS_INTERFACE_VERSION010", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010}, {"STEAMREMOTESTORAGE_INTERFACE_VERSION005", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005}, {"STEAMAPPS_INTERFACE_VERSION004", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION004}, + {"SteamGameStats001", &create_winISteamGameStats_SteamGameStats001}, {"SteamFriends010", &create_winISteamFriends_SteamFriends010}, {"SteamClient011", &create_winISteamClient_SteamClient011}, {"SteamFriends009", &create_winISteamFriends_SteamFriends009},