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

@ -88,6 +88,11 @@ public Item( PublishedFileId id ) : this()
/// True if this is only visible to the creator /// True if this is only visible to the creator
/// </summary> /// </summary>
public bool IsPrivate => details.Visibility == RemoteStoragePublishedFileVisibility.Private; 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> /// <summary>
/// True if this item has been banned /// True if this item has been banned