Class ISteamRemotePlay
- Namespace
- MarymoorStudios.Core.Steamworks
- Assembly
- MarymoorStudios.Core.Steamworks.dll
public sealed class ISteamRemotePlay : SteamNativeObject
- Inheritance
-
ISteamRemotePlay
- Inherited Members
-
Fields
INTERFACE_VERSION
public const string INTERFACE_VERSION = "STEAMREMOTEPLAY_INTERFACE_VERSION003"
Field Value
- string
Methods
public bool BEnableRemotePlayTogetherDirectInput()
Returns
- bool
BGetSessionClientResolution(RemotePlaySessionID, out int, out int)
public bool BGetSessionClientResolution(RemotePlaySessionID sessionID, out int resolutionX, out int resolutionY)
Parameters
sessionID RemotePlaySessionID
resolutionX int
resolutionY int
Returns
- bool
BSendRemotePlayTogetherInvite(CSteamID)
public bool BSendRemotePlayTogetherInvite(CSteamID steamIDFriend)
Parameters
steamIDFriend CSteamID
Returns
- bool
CreateMouseCursor(int, int, int, int, ReadOnlySpan<byte>, int)
public RemotePlayCursorID CreateMouseCursor(int width, int height, int hotX, int hotY, ReadOnlySpan<byte> bGRA, int pitch)
Parameters
width int
height int
hotX int
hotY int
bGRA ReadOnlySpan<byte>
pitch int
Returns
- RemotePlayCursorID
public void DisableRemotePlayTogetherDirectInput()
public uint GetInput(out RemotePlayInput input, uint maxEvents)
Parameters
input RemotePlayInput
maxEvents uint
Returns
- uint
public ESteamDeviceFormFactor GetSessionClientFormFactor(RemotePlaySessionID sessionID)
Parameters
sessionID RemotePlaySessionID
Returns
- ESteamDeviceFormFactor
GetSessionClientName(RemotePlaySessionID)
public string GetSessionClientName(RemotePlaySessionID sessionID)
Parameters
sessionID RemotePlaySessionID
Returns
- string
GetSessionCount()
public uint GetSessionCount()
Returns
- uint
GetSessionID(int)
public RemotePlaySessionID GetSessionID(int sessionIndex)
Parameters
sessionIndex int
Returns
- RemotePlaySessionID
GetSessionSteamID(RemotePlaySessionID)
public CSteamID GetSessionSteamID(RemotePlaySessionID sessionID)
Parameters
sessionID RemotePlaySessionID
Returns
- CSteamID
OnSteamRemotePlaySessionConnected(CallbackAction<SteamRemotePlaySessionConnected>)
public IDisposable OnSteamRemotePlaySessionConnected(CallbackAction<SteamRemotePlaySessionConnected> func)
Parameters
func CallbackAction<SteamRemotePlaySessionConnected>
Returns
- IDisposable
OnSteamRemotePlaySessionDisconnected(CallbackAction<SteamRemotePlaySessionDisconnected>)
public IDisposable OnSteamRemotePlaySessionDisconnected(CallbackAction<SteamRemotePlaySessionDisconnected> func)
Parameters
func CallbackAction<SteamRemotePlaySessionDisconnected>
Returns
- IDisposable
OnSteamRemotePlayTogetherGuestInvite(CallbackAction<SteamRemotePlayTogetherGuestInvite>)
public IDisposable OnSteamRemotePlayTogetherGuestInvite(CallbackAction<SteamRemotePlayTogetherGuestInvite> func)
Parameters
func CallbackAction<SteamRemotePlayTogetherGuestInvite>
Returns
- IDisposable
SetMouseCursor(RemotePlaySessionID, RemotePlayCursorID)
public void SetMouseCursor(RemotePlaySessionID sessionID, RemotePlayCursorID cursorID)
Parameters
sessionID RemotePlaySessionID
cursorID RemotePlayCursorID
SetMousePosition(RemotePlaySessionID, float, float)
public void SetMousePosition(RemotePlaySessionID sessionID, float normalizedX, float normalizedY)
Parameters
sessionID RemotePlaySessionID
normalizedX float
normalizedY float
SetMouseVisibility(RemotePlaySessionID, bool)
public void SetMouseVisibility(RemotePlaySessionID sessionID, bool visible)
Parameters
sessionID RemotePlaySessionID
visible bool
ShowRemotePlayTogetherUI()
public bool ShowRemotePlayTogetherUI()
Returns
- bool