2023-09-18 16:58:31 +03:00
|
|
|
#include "steam_defs.h"
|
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
|
|
|
#define __cdecl
|
|
|
|
#include "steamworks_sdk_158/steam_api.h"
|
|
|
|
#include "steamworks_sdk_158/steamnetworkingtypes.h"
|
|
|
|
#pragma pop_macro("__cdecl")
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
#define SDKVER_158
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.h"
|
2023-09-24 00:44:45 +03:00
|
|
|
|
|
|
|
struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002
|
|
|
|
{
|
|
|
|
#ifdef __cplusplus
|
|
|
|
virtual uint32_t GetSessionCount( ) = 0;
|
|
|
|
virtual uint32_t GetSessionID( int32_t ) = 0;
|
|
|
|
virtual CSteamID GetSessionSteamID( uint32_t ) = 0;
|
|
|
|
virtual const char * GetSessionClientName( uint32_t ) = 0;
|
|
|
|
virtual uint32_t GetSessionClientFormFactor( uint32_t ) = 0;
|
|
|
|
virtual bool BGetSessionClientResolution( uint32_t, int32_t *, int32_t * ) = 0;
|
|
|
|
virtual bool BStartRemotePlayTogether( bool ) = 0;
|
|
|
|
virtual bool BSendRemotePlayTogetherInvite( CSteamID ) = 0;
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
};
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params *params )
|
2023-09-18 16:58:31 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetSessionCount( );
|
2023-09-18 16:58:31 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params *params )
|
2023-09-18 16:58:31 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetSessionID( params->iSessionIndex );
|
2023-09-18 16:58:31 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params *params )
|
2023-09-18 16:58:31 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side;
|
|
|
|
*params->_ret = iface->GetSessionSteamID( params->unSessionID );
|
2023-09-18 16:58:31 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params *params )
|
2023-09-18 16:58:31 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetSessionClientName( params->unSessionID );
|
2023-09-18 16:58:31 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params *params )
|
2023-09-18 16:58:31 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side;
|
|
|
|
params->_ret = iface->GetSessionClientFormFactor( params->unSessionID );
|
2023-09-18 16:58:31 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params *params )
|
2023-09-18 16:58:31 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side;
|
|
|
|
params->_ret = iface->BGetSessionClientResolution( params->unSessionID, params->pnResolutionX, params->pnResolutionY );
|
2023-09-18 16:58:31 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params *params )
|
2023-09-18 16:58:31 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side;
|
|
|
|
params->_ret = iface->BStartRemotePlayTogether( params->bShowOverlay );
|
2023-09-18 16:58:31 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params *params )
|
2023-09-18 16:58:31 +03:00
|
|
|
{
|
2023-09-24 00:44:45 +03:00
|
|
|
struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side;
|
|
|
|
params->_ret = iface->BSendRemotePlayTogetherInvite( params->steamIDFriend );
|
2023-09-18 16:58:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|