mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-30 16:45:36 +03:00
6b21c32d2a
CW-Bug-Id: #22729
58 lines
2.9 KiB
C++
58 lines
2.9 KiB
C++
#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"
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params *params )
|
|
{
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionCount( );
|
|
}
|
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params *params )
|
|
{
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionID( (int)params->iSessionIndex );
|
|
}
|
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params *params )
|
|
{
|
|
*params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionSteamID( (RemotePlaySessionID_t)params->unSessionID );
|
|
}
|
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params *params )
|
|
{
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionClientName( (RemotePlaySessionID_t)params->unSessionID );
|
|
}
|
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params *params )
|
|
{
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->GetSessionClientFormFactor( (RemotePlaySessionID_t)params->unSessionID );
|
|
}
|
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params *params )
|
|
{
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->BGetSessionClientResolution( (RemotePlaySessionID_t)params->unSessionID, (int *)params->pnResolutionX, (int *)params->pnResolutionY );
|
|
}
|
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params *params )
|
|
{
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->BStartRemotePlayTogether( (bool)params->bShowOverlay );
|
|
}
|
|
|
|
void cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite( struct cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params *params )
|
|
{
|
|
params->_ret = ((ISteamRemotePlay*)params->linux_side)->BSendRemotePlayTogetherInvite( (CSteamID)params->steamIDFriend );
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|