2019-08-16 15:51:27 +02:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2019-12-11 20:59:25 +01:00
|
|
|
#include "steamworks_sdk_147/steam_api.h"
|
|
|
|
#include "steamworks_sdk_147/steamnetworkingtypes.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma pop_macro("__cdecl")
|
2019-08-16 15:51:27 +02:00
|
|
|
#include "steamclient_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-12-11 20:59:25 +01:00
|
|
|
#define SDKVER_147
|
2019-08-16 15:51:27 +02:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h"
|
|
|
|
uint32 cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamRemotePlay*)linux_side)->GetSessionCount();
|
|
|
|
}
|
|
|
|
|
2019-12-11 20:59:25 +01:00
|
|
|
RemotePlaySessionID_t cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(void *linux_side, int iSessionIndex)
|
2019-08-16 15:51:27 +02:00
|
|
|
{
|
|
|
|
return ((ISteamRemotePlay*)linux_side)->GetSessionID((int)iSessionIndex);
|
|
|
|
}
|
|
|
|
|
2019-12-11 20:59:25 +01:00
|
|
|
CSteamID cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(void *linux_side, RemotePlaySessionID_t unSessionID)
|
2019-08-16 15:51:27 +02:00
|
|
|
{
|
2019-12-11 20:59:25 +01:00
|
|
|
return ((ISteamRemotePlay*)linux_side)->GetSessionSteamID((RemotePlaySessionID_t)unSessionID);
|
2019-08-16 15:51:27 +02:00
|
|
|
}
|
|
|
|
|
2019-12-11 20:59:25 +01:00
|
|
|
const char * cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(void *linux_side, RemotePlaySessionID_t unSessionID)
|
2019-08-16 15:51:27 +02:00
|
|
|
{
|
2019-12-11 20:59:25 +01:00
|
|
|
return ((ISteamRemotePlay*)linux_side)->GetSessionClientName((RemotePlaySessionID_t)unSessionID);
|
2019-08-16 15:51:27 +02:00
|
|
|
}
|
|
|
|
|
2019-12-11 20:59:25 +01:00
|
|
|
ESteamDeviceFormFactor cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(void *linux_side, RemotePlaySessionID_t unSessionID)
|
2019-08-16 15:51:27 +02:00
|
|
|
{
|
2019-12-11 20:59:25 +01:00
|
|
|
return ((ISteamRemotePlay*)linux_side)->GetSessionClientFormFactor((RemotePlaySessionID_t)unSessionID);
|
2019-08-16 15:51:27 +02:00
|
|
|
}
|
|
|
|
|
2019-12-11 20:59:25 +01:00
|
|
|
bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(void *linux_side, RemotePlaySessionID_t unSessionID, int * pnResolutionX, int * pnResolutionY)
|
2019-08-16 15:51:27 +02:00
|
|
|
{
|
2019-12-11 20:59:25 +01:00
|
|
|
return ((ISteamRemotePlay*)linux_side)->BGetSessionClientResolution((RemotePlaySessionID_t)unSessionID, (int *)pnResolutionX, (int *)pnResolutionY);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
|
|
|
return ((ISteamRemotePlay*)linux_side)->BSendRemotePlayTogetherInvite((CSteamID)steamIDFriend);
|
2019-08-16 15:51:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|