mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-24 20:48:03 +03:00
Expose ItemPreviewType
This commit is contained in:
parent
b71c83ad13
commit
cb792b0f04
@ -1874,7 +1874,7 @@ namespace Steamworks
|
|||||||
//
|
//
|
||||||
// EItemPreviewType
|
// EItemPreviewType
|
||||||
//
|
//
|
||||||
internal enum ItemPreviewType : int
|
public enum ItemPreviewType : int
|
||||||
{
|
{
|
||||||
Image = 0,
|
Image = 0,
|
||||||
YouTubeVideo = 1,
|
YouTubeVideo = 1,
|
||||||
|
@ -17,17 +17,6 @@ namespace Steamworks.Data
|
|||||||
|
|
||||||
public string UrlOrVideoID { get; private set; }
|
public string UrlOrVideoID { get; private set; }
|
||||||
public string OriginalFileName { get; private set; }
|
public string OriginalFileName { get; private set; }
|
||||||
internal ItemPreviewType ItemPreviewType { get; private set; }
|
public 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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -142,6 +142,7 @@ public static class Cleanup
|
|||||||
if ( name == "NetIdentity" ) return "public";
|
if ( name == "NetIdentity" ) return "public";
|
||||||
if ( name == "NetAddress" ) return "public";
|
if ( name == "NetAddress" ) return "public";
|
||||||
if ( name == "NetDebugOutput" ) return "public";
|
if ( name == "NetDebugOutput" ) return "public";
|
||||||
|
if ( name == "ItemPreviewType" ) return "public";
|
||||||
|
|
||||||
return "internal";
|
return "internal";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user