Added WithUnlistedVisibility

This commit is contained in:
Ben 2024-04-13 14:07:27 +01:00
parent 4463739be5
commit 16051dd9f9

View File

@ -78,6 +78,7 @@ public Editor( PublishedFileId fileId ) : this()
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<string> Tags;
Dictionary<string, List<string>> KeyValueTags;
@ -297,4 +298,4 @@ public struct PublishResult
/// </summary>
public bool NeedsWorkshopAgreement;
}
}
}