| 12345678910111213141516171819202122232425262728 |
- 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);
- }
- }
- }
|