From 598f44e9f82921fc1cb9bd39fce1ef41e9a012c5 Mon Sep 17 00:00:00 2001 From: James King Date: Fri, 7 Jul 2017 15:43:12 +0100 Subject: [PATCH] Added RemoteStorage.OpenSharedFile(sharingId) --- Facepunch.Steamworks/Client/RemoteStorage.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Facepunch.Steamworks/Client/RemoteStorage.cs b/Facepunch.Steamworks/Client/RemoteStorage.cs index 1847fac..c33afc5 100644 --- a/Facepunch.Steamworks/Client/RemoteStorage.cs +++ b/Facepunch.Steamworks/Client/RemoteStorage.cs @@ -90,6 +90,15 @@ namespace Facepunch.Steamworks return existing; } + /// + /// Opens a previously shared + /// with the given . + /// + public RemoteFile OpenSharedFile( ulong sharingId ) + { + return new RemoteFile( this, sharingId ); + } + /// /// Write all text to the file at the specified path. This /// overwrites the contents - it does not append.