mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
38 lines
1.5 KiB
C++
38 lines
1.5 KiB
C++
//============ Copyright (c) Valve Corporation, All rights reserved. ============
|
|
|
|
#ifndef ISTEAMREMOTEPLAY001_H
|
|
#define ISTEAMREMOTEPLAY001_H
|
|
#ifdef STEAM_WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
class ISteamRemotePlay001
|
|
{
|
|
public:
|
|
// Get the number of currently connected Steam Remote Play sessions
|
|
virtual uint32 GetSessionCount() = 0;
|
|
|
|
// Get the currently connected Steam Remote Play session ID at the specified index. Returns zero if index is out of bounds.
|
|
virtual RemotePlaySessionID_t GetSessionID( int iSessionIndex ) = 0;
|
|
|
|
// Get the SteamID of the connected user
|
|
virtual CSteamID GetSessionSteamID( RemotePlaySessionID_t unSessionID ) = 0;
|
|
|
|
// Get the name of the session client device
|
|
// This returns NULL if the sessionID is not valid
|
|
virtual const char *GetSessionClientName( RemotePlaySessionID_t unSessionID ) = 0;
|
|
|
|
// Get the form factor of the session client device
|
|
virtual ESteamDeviceFormFactor GetSessionClientFormFactor( RemotePlaySessionID_t unSessionID ) = 0;
|
|
|
|
// Get the resolution, in pixels, of the session client device
|
|
// This is set to 0x0 if the resolution is not available
|
|
virtual bool BGetSessionClientResolution( RemotePlaySessionID_t unSessionID, int *pnResolutionX, int *pnResolutionY ) = 0;
|
|
|
|
// Invite a friend to Remote Play Together, or create a guest invite if steamIDFriend is empty
|
|
// This returns false if the invite can't be sent
|
|
virtual bool BSendRemotePlayTogetherInvite( CSteamID steamIDFriend ) = 0;
|
|
};
|
|
|
|
#endif // #define ISTEAMREMOTEPLAY001_H
|