Files
SabreTools.RedumpLib/Attributes/HumanReadableAttribute.cs

25 lines
635 B
C#
Raw Permalink Normal View History

2023-09-04 16:30:28 -04:00
using System;
namespace SabreTools.RedumpLib.Attributes
{
/// <summary>
/// Generic attribute for human readable values
/// </summary>
public class HumanReadableAttribute : Attribute
{
/// <summary>
/// Item is marked as obsolete or unusable
/// </summary>
public bool Available { get; set; } = true;
/// <summary>
/// Human-readable name of the item
/// </summary>
2023-09-04 17:34:51 -04:00
public string? LongName { get; set; }
2023-09-04 16:30:28 -04:00
/// <summary>
/// Internally used name of the item
/// </summary>
2023-09-04 17:34:51 -04:00
public string? ShortName { get; set; }
2023-09-04 16:30:28 -04:00
}
}