2018-01-18 19:24:05 +03:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 11:43:23 +03:00
|
|
|
#define __cdecl
|
2018-01-18 19:24:05 +03:00
|
|
|
#include "steamworks_sdk_141/steam_api.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 22:06:46 +03:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 18:05:29 +03:00
|
|
|
#define SDKVER_141
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
|
|
|
struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001
|
|
|
|
{
|
|
|
|
#ifdef __cplusplus
|
|
|
|
virtual uint64_t SendMethod( const char *, const void *, uint32_t, uint64_t ) = 0;
|
|
|
|
virtual bool GetMethodResponseInfo( uint64_t, uint32_t *, uint32_t * ) = 0;
|
|
|
|
virtual bool GetMethodResponseData( uint64_t, void *, uint32_t, bool ) = 0;
|
|
|
|
virtual bool ReleaseMethod( uint64_t ) = 0;
|
|
|
|
virtual bool SendNotification( const char *, const void *, uint32_t ) = 0;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->SendMethod( params->pchServiceMethod, params->pRequestBuffer, params->unRequestBufferSize, params->unContext );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetMethodResponseInfo( params->hHandle, params->punResponseSize, params->peResult );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetMethodResponseData( params->hHandle, params->pResponseBuffer, params->unResponseBufferSize, params->bAutoRelease );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->ReleaseMethod( params->hHandle );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params *params )
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side;
|
|
|
|
params->_ret = iface->SendNotification( params->pchServiceNotification, params->pNotificationBuffer, params->unNotificationBufferSize );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|