Expose ItemPreviewType

This commit is contained in:
Garry Newman 2020-09-04 10:34:33 +01:00
parent b71c83ad13
commit cb792b0f04
3 changed files with 3 additions and 13 deletions

View File

@ -1874,7 +1874,7 @@ namespace Steamworks
//
// EItemPreviewType
//
internal enum ItemPreviewType : int
public enum ItemPreviewType : int
{
Image = 0,
YouTubeVideo = 1,

View File

@ -17,17 +17,6 @@ namespace Steamworks.Data
public string UrlOrVideoID { get; private set; }
public string OriginalFileName { get; private set; }
internal ItemPreviewType ItemPreviewType { get; private set; }
/// <summary>
/// Flags that specify the type of preview an item has:
/// Image = 0,
/// YouTubeVideo = 1,
/// Sketchfab = 2,
/// EnvironmentMap_HorizontalCross = 3,
/// EnvironmentMap_LatLong = 4,
/// ReservedMax = 255
/// </summary>
public int GetItemPreviewType() => (int)ItemPreviewType;
public ItemPreviewType ItemPreviewType { get; private set; }
}
}

View File

@ -142,6 +142,7 @@ public static class Cleanup
if ( name == "NetIdentity" ) return "public";
if ( name == "NetAddress" ) return "public";
if ( name == "NetDebugOutput" ) return "public";
if ( name == "ItemPreviewType" ) return "public";
return "internal";
}