Proton/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp

42 lines
2.3 KiB
C++
Raw Normal View History

2018-01-18 19:24:05 +03:00
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#define __cdecl
2018-01-18 19:24:05 +03:00
#include "steamworks_sdk_141/steam_api.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
2018-01-18 19:24:05 +03:00
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_141
#include "struct_converters.h"
#include "cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h"
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->SendMethod( (const char *)params->pchServiceMethod, (const void *)params->pRequestBuffer, (uint32)params->unRequestBufferSize, (uint64)params->unContext );
2018-01-18 19:24:05 +03:00
}
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->GetMethodResponseInfo( (ClientUnifiedMessageHandle)params->hHandle, (uint32 *)params->punResponseSize, (EResult *)params->peResult );
2018-01-18 19:24:05 +03:00
}
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->GetMethodResponseData( (ClientUnifiedMessageHandle)params->hHandle, (void *)params->pResponseBuffer, (uint32)params->unResponseBufferSize, (bool)params->bAutoRelease );
2018-01-18 19:24:05 +03:00
}
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->ReleaseMethod( (ClientUnifiedMessageHandle)params->hHandle );
2018-01-18 19:24:05 +03:00
}
void cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification( struct cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params *params )
2018-01-18 19:24:05 +03:00
{
params->_ret = ((ISteamUnifiedMessages*)params->linux_side)->SendNotification( (const char *)params->pchServiceNotification, (const void *)params->pNotificationBuffer, (uint32)params->unNotificationBufferSize );
2018-01-18 19:24:05 +03:00
}
#ifdef __cplusplus
}
#endif