resource stuff
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
|
||||
namespace Nerfed.Builder.Meta
|
||||
{
|
||||
/// <summary>
|
||||
/// Foundation for JSON-serialized metadata files (e.g. hero.png.meta)
|
||||
/// </summary>
|
||||
public class AssetMeta
|
||||
{
|
||||
/// <summary>
|
||||
/// The universally unique identifier for this asset, generated on first import.
|
||||
/// </summary>
|
||||
public Guid Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The importer version. Useful to force re-imports if your engine updates how it parses textures.
|
||||
/// </summary>
|
||||
public int ImporterVersion { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// Base constructor needed for JSON deserialization
|
||||
/// </summary>
|
||||
public AssetMeta() { }
|
||||
|
||||
public AssetMeta(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user