Files
tbd-station-14/Content.Shared/HUD/HudThemePrototype.cs
Tayrtahn 86aa82f2b6 Cleanup: Remove redundant prototype name specifications (#35793)
* Remove redundant prototype name specifications

* These can stay
2025-03-19 19:30:31 +01:00

29 lines
781 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.HUD
{
[Prototype]
public sealed partial class HudThemePrototype : IPrototype, IComparable<HudThemePrototype>
{
[DataField("name", required: true)]
public string Name { get; private set; } = string.Empty;
[IdDataField]
public string ID { get; private set; } = string.Empty;
[DataField("path", required: true)]
public string Path { get; private set; } = string.Empty;
/// <summary>
/// An order for the themes to be displayed in the UI
/// </summary>
[DataField]
public int Order = 0;
public int CompareTo(HudThemePrototype? other)
{
return Order.CompareTo(other?.Order);
}
}
}