From 38c2ffd796f9b5fc3016ddd4baff65537efd38f0 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Fri, 24 Sep 2021 14:28:13 +0100 Subject: [PATCH] Added SteamUGC.GetWorkshopEulaStatus() --- Facepunch.Steamworks/SteamUgc.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Facepunch.Steamworks/SteamUgc.cs b/Facepunch.Steamworks/SteamUgc.cs index d556ac9..02611e1 100644 --- a/Facepunch.Steamworks/SteamUgc.cs +++ b/Facepunch.Steamworks/SteamUgc.cs @@ -191,5 +191,14 @@ namespace Steamworks return Internal.ShowWorkshopEULA(); } + /// + /// Retrieve information related to the user's acceptance or not of the app's specific Workshop EULA + /// + public static async Task GetWorkshopEulaStatus() + { + var status = await Internal.GetWorkshopEULAStatus(); + return status?.Accepted; + } + } }