Facepunch.Steamworks Wiki


Functions that provide information about Steam Remote Play sessions, streaming your game content to another computer or to a Steam Link app or hardware.


static event Action<Data.RemotePlaySession> OnSessionConnected
Called when a session is connected
static event Action<Data.RemotePlaySession> OnSessionDisconnected
Called when a session becomes disconnected


static int SessionCount { get; }
Get the number of currently connected Steam Remote Play sessions


static Data.RemotePlaySession GetSession( int index )
Get the currently connected Steam Remote Play session ID at the specified index. IsValid will return false if it's out of bounds
static bool SendInvite( SteamId steamid )
Invite a friend to Remote Play Together This returns false if the invite can't be sent