diff --git a/Facepunch.Steamworks/Client/Screenshots.cs b/Facepunch.Steamworks/Client/Screenshots.cs index a0a9f2b..32be36c 100644 --- a/Facepunch.Steamworks/Client/Screenshots.cs +++ b/Facepunch.Steamworks/Client/Screenshots.cs @@ -66,5 +66,15 @@ public unsafe void Write( byte[] rgbData, int width, int height ) client.native.screenshots.WriteScreenshot( (IntPtr) ptr, (uint) rgbData.Length, width, height ); } } + + public unsafe void AddScreenshotToLibrary( string filename, string thumbnailFilename, int width, int height) + { + client.native.screenshots.AddScreenshotToLibrary(filename, thumbnailFilename, width, height); + } + + public unsafe void AddScreenshotToLibrary( string filename, int width, int height) + { + client.native.screenshots.AddScreenshotToLibrary(filename, null, width, height); + } } }