2019-08-16 16:51:27 +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
|
2023-05-02 11:47:29 +03:00
|
|
|
#include "steamworks_sdk_157/steam_api.h"
|
|
|
|
#include "steamworks_sdk_157/steamnetworkingtypes.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2019-08-16 16:51:27 +03:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2023-05-02 11:47:29 +03:00
|
|
|
#define SDKVER_157
|
2019-08-16 16:51:27 +03:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h"
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount_params *params )
|
2019-08-16 16:51:27 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionCount( );
|
2019-08-16 16:51:27 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID_params *params )
|
2019-08-16 16:51:27 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionID( (int)params->iSessionIndex );
|
2019-08-16 16:51:27 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_params *params )
|
2019-08-16 16:51:27 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
*params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionSteamID( (RemotePlaySessionID_t)params->unSessionID );
|
2019-08-16 16:51:27 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params *params )
|
2019-08-16 16:51:27 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionClientName( (RemotePlaySessionID_t)params->unSessionID );
|
2019-08-16 16:51:27 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor_params *params )
|
2019-08-16 16:51:27 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionClientFormFactor( (RemotePlaySessionID_t)params->unSessionID );
|
2019-08-16 16:51:27 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution_params *params )
|
2019-08-16 16:51:27 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->BGetSessionClientResolution( (RemotePlaySessionID_t)params->unSessionID, (int *)params->pnResolutionX, (int *)params->pnResolutionY );
|
2019-12-11 22:59:25 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite_params *params )
|
2019-12-11 22:59:25 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->BSendRemotePlayTogetherInvite( (CSteamID)params->steamIDFriend );
|
2019-08-16 16:51:27 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|