diff --git a/Facepunch.Steamworks/Generated/SteamEnums.cs b/Facepunch.Steamworks/Generated/SteamEnums.cs index cdcc8ef..d9ae160 100644 --- a/Facepunch.Steamworks/Generated/SteamEnums.cs +++ b/Facepunch.Steamworks/Generated/SteamEnums.cs @@ -1874,7 +1874,7 @@ namespace Steamworks // // EItemPreviewType // - internal enum ItemPreviewType : int + public enum ItemPreviewType : int { Image = 0, YouTubeVideo = 1, diff --git a/Facepunch.Steamworks/Structs/UgcAdditionalPreview.cs b/Facepunch.Steamworks/Structs/UgcAdditionalPreview.cs index 49e6e34..8b95d33 100644 --- a/Facepunch.Steamworks/Structs/UgcAdditionalPreview.cs +++ b/Facepunch.Steamworks/Structs/UgcAdditionalPreview.cs @@ -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; } - - /// - /// Flags that specify the type of preview an item has: - /// Image = 0, - /// YouTubeVideo = 1, - /// Sketchfab = 2, - /// EnvironmentMap_HorizontalCross = 3, - /// EnvironmentMap_LatLong = 4, - /// ReservedMax = 255 - /// - public int GetItemPreviewType() => (int)ItemPreviewType; + public ItemPreviewType ItemPreviewType { get; private set; } } } diff --git a/Generator/Cleanup.cs b/Generator/Cleanup.cs index 4a7d3f3..923b80e 100644 --- a/Generator/Cleanup.cs +++ b/Generator/Cleanup.cs @@ -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"; }