mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 23:25:50 +03:00
247 lines
10 KiB
C
247 lines
10 KiB
C
/* This file is auto-generated, do not edit. */
|
|
#include "steamclient_private.h"
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_GetNewSession, 24)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_EndSession, 20)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt, 20)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeString, 20)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat, 20)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddNewRow, 20)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_CommitRow, 12)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_CommitOutstandingRows, 12)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeInt, 20)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAtributeString, 20)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeFloat, 20)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64, 24)
|
|
DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeInt64, 24)
|
|
|
|
uint64_t __thiscall winISteamGameStats_SteamGameStats001_GetNewSession(struct w_steam_iface *_this, int8_t nAccountType, uint64_t ulAccountID, int32_t nAppID, uint32_t rtTimeStarted)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_GetNewSession_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.nAccountType = nAccountType,
|
|
.ulAccountID = ulAccountID,
|
|
.nAppID = nAppID,
|
|
.rtTimeStarted = rtTimeStarted,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_GetNewSession, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint64_t __thiscall winISteamGameStats_SteamGameStats001_EndSession(struct w_steam_iface *_this, uint64_t ulSessionID, uint32_t rtTimeEnded, int32_t nReasonCode)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_EndSession_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulSessionID = ulSessionID,
|
|
.rtTimeEnded = rtTimeEnded,
|
|
.nReasonCode = nReasonCode,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_EndSession, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt(struct w_steam_iface *_this, uint64_t ulSessionID, const char *pstrName, int32_t nData)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulSessionID = ulSessionID,
|
|
.pstrName = pstrName,
|
|
.nData = nData,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
IsBadStringPtrA(pstrName, -1);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddSessionAttributeInt, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeString(struct w_steam_iface *_this, uint64_t ulSessionID, const char *pstrName, const char *pstrData)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_AddSessionAttributeString_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulSessionID = ulSessionID,
|
|
.pstrName = pstrName,
|
|
.pstrData = pstrData,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
IsBadStringPtrA(pstrName, -1);
|
|
IsBadStringPtrA(pstrData, -1);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddSessionAttributeString, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(struct w_steam_iface *_this, uint64_t ulSessionID, const char *pstrName, float fData)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulSessionID = ulSessionID,
|
|
.pstrName = pstrName,
|
|
.fData = fData,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
IsBadStringPtrA(pstrName, -1);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddNewRow(struct w_steam_iface *_this, uint64_t *pulRowID, uint64_t ulSessionID, const char *pstrTableName)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_AddNewRow_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.pulRowID = pulRowID,
|
|
.ulSessionID = ulSessionID,
|
|
.pstrTableName = pstrTableName,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
IsBadStringPtrA(pstrTableName, -1);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddNewRow, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_CommitRow(struct w_steam_iface *_this, uint64_t ulRowID)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_CommitRow_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulRowID = ulRowID,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_CommitRow, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_CommitOutstandingRows(struct w_steam_iface *_this, uint64_t ulSessionID)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_CommitOutstandingRows_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulSessionID = ulSessionID,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_CommitOutstandingRows, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt(struct w_steam_iface *_this, uint64_t ulRowID, const char *pstrName, int32_t nData)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulRowID = ulRowID,
|
|
.pstrName = pstrName,
|
|
.nData = nData,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
IsBadStringPtrA(pstrName, -1);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddRowAttributeInt, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddRowAtributeString(struct w_steam_iface *_this, uint64_t ulRowID, const char *pstrName, const char *pstrData)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_AddRowAtributeString_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulRowID = ulRowID,
|
|
.pstrName = pstrName,
|
|
.pstrData = pstrData,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
IsBadStringPtrA(pstrName, -1);
|
|
IsBadStringPtrA(pstrData, -1);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddRowAtributeString, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeFloat(struct w_steam_iface *_this, uint64_t ulRowID, const char *pstrName, float fData)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_AddRowAttributeFloat_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulRowID = ulRowID,
|
|
.pstrName = pstrName,
|
|
.fData = fData,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
IsBadStringPtrA(pstrName, -1);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddRowAttributeFloat, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(struct w_steam_iface *_this, uint64_t ulSessionID, const char *pstrName, int64_t llData)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulSessionID = ulSessionID,
|
|
.pstrName = pstrName,
|
|
.llData = llData,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
IsBadStringPtrA(pstrName, -1);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt64(struct w_steam_iface *_this, uint64_t ulRowID, const char *pstrName, int64_t llData)
|
|
{
|
|
struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt64_params params =
|
|
{
|
|
.linux_side = _this->u_iface,
|
|
.ulRowID = ulRowID,
|
|
.pstrName = pstrName,
|
|
.llData = llData,
|
|
};
|
|
TRACE("%p\n", _this);
|
|
IsBadStringPtrA(pstrName, -1);
|
|
STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddRowAttributeInt64, ¶ms );
|
|
return params._ret;
|
|
}
|
|
|
|
extern vtable_ptr winISteamGameStats_SteamGameStats001_vtable;
|
|
|
|
DEFINE_RTTI_DATA0(winISteamGameStats_SteamGameStats001, 0, ".?AVISteamGameStats@@")
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamGameStats_SteamGameStats001_vtables)
|
|
__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)
|
|
);
|
|
__ASM_BLOCK_END
|
|
|
|
struct w_steam_iface *create_winISteamGameStats_SteamGameStats001(void *u_iface)
|
|
{
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameStats001");
|
|
TRACE("-> %p\n", r);
|
|
r->vtable = alloc_vtable(&winISteamGameStats_SteamGameStats001_vtable, 13, "SteamGameStats001");
|
|
r->u_iface = u_iface;
|
|
return r;
|
|
}
|
|
|
|
void init_winISteamGameStats_rtti( char *base )
|
|
{
|
|
#ifdef __x86_64__
|
|
init_winISteamGameStats_SteamGameStats001_rtti( base );
|
|
#endif /* __x86_64__ */
|
|
}
|