diff --git a/Facepunch.Steamworks/SteamUgc.cs b/Facepunch.Steamworks/SteamUgc.cs index 4ddb20e..a36fb64 100644 --- a/Facepunch.Steamworks/SteamUgc.cs +++ b/Facepunch.Steamworks/SteamUgc.cs @@ -161,5 +161,16 @@ namespace Steamworks var result = await Internal.StopPlaytimeTrackingForAllItems(); return result.Value.Result == Result.OK; } - } + + /// + /// Suspends all workshop downloads. + /// Downloads will be suspended until you resume them by calling or when the game ends. + /// + public static void SuspendDownloads() => Internal.SuspendDownloads(true); + + /// + /// Resumes all workshop downloads + /// + public static void ResumeDownloads() => Internal.SuspendDownloads(false); + } }