Added SteamUGC.GetWorkshopEulaStatus()

This commit is contained in:
Garry Newman 2021-09-24 14:28:13 +01:00
parent 30f35c3aae
commit 38c2ffd796

View File

@ -191,5 +191,14 @@ namespace Steamworks
return Internal.ShowWorkshopEULA();
}
/// <summary>
/// Retrieve information related to the user's acceptance or not of the app's specific Workshop EULA
/// </summary>
public static async Task<bool?> GetWorkshopEulaStatus()
{
var status = await Internal.GetWorkshopEULAStatus();
return status?.Accepted;
}
}
}