From 16051dd9f98385fd7847907847472f73c71fb243 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 13 Apr 2024 14:07:27 +0100 Subject: [PATCH] Added WithUnlistedVisibility --- Facepunch.Steamworks/Structs/UgcEditor.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/Structs/UgcEditor.cs b/Facepunch.Steamworks/Structs/UgcEditor.cs index ffd00f0..05174d4 100644 --- a/Facepunch.Steamworks/Structs/UgcEditor.cs +++ b/Facepunch.Steamworks/Structs/UgcEditor.cs @@ -78,6 +78,7 @@ namespace Steamworks.Ugc public Editor WithPublicVisibility() { Visibility = RemoteStoragePublishedFileVisibility.Public; return this; } public Editor WithFriendsOnlyVisibility() { Visibility = RemoteStoragePublishedFileVisibility.FriendsOnly; return this; } public Editor WithPrivateVisibility() { Visibility = RemoteStoragePublishedFileVisibility.Private; return this; } + public Editor WithUnlistedVisibility() { Visibility = RemoteStoragePublishedFileVisibility.Unlisted; return this; } List Tags; Dictionary> KeyValueTags; @@ -297,4 +298,4 @@ namespace Steamworks.Ugc /// public bool NeedsWorkshopAgreement; } -} \ No newline at end of file +}