Added IsUnlisted to UgcItem.cs

This commit is contained in:
Ben 2024-04-13 14:33:49 +01:00
parent 16051dd9f9
commit 35b6260d60

View File

@ -89,6 +89,11 @@ public Item( PublishedFileId id ) : this()
/// </summary>
public bool IsPrivate => details.Visibility == RemoteStoragePublishedFileVisibility.Private;
/// <summary>
/// True if this is only visible to people with the URL
/// </summary>
public bool IsUnlisted => details.Visibility == RemoteStoragePublishedFileVisibility.Unlisted;
/// <summary>
/// True if this item has been banned
/// </summary>