From 30f35c3aae64977d33b23bb67695eaa866e5b866 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Fri, 24 Sep 2021 14:26:15 +0100 Subject: [PATCH] Added SteamUGC.ShowWorkshopEula() --- Facepunch.Steamworks/SteamUgc.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/SteamUgc.cs b/Facepunch.Steamworks/SteamUgc.cs index c727181..d556ac9 100644 --- a/Facepunch.Steamworks/SteamUgc.cs +++ b/Facepunch.Steamworks/SteamUgc.cs @@ -182,5 +182,14 @@ namespace Steamworks /// Resumes all workshop downloads /// public static void ResumeDownloads() => Internal.SuspendDownloads(false); - } + + /// + /// Show the app's latest Workshop EULA to the user in an overlay window, where they can accept it or not + /// + public static bool ShowWorkshopEula() + { + return Internal.ShowWorkshopEULA(); + } + + } }