RoleTypePrototype.cs 626 B

12345678910111213141516171819202122232425
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.Mind;
  3. /// <summary>
  4. /// The core properties of Role Types
  5. /// </summary>
  6. [Prototype, Serializable]
  7. public sealed partial class RoleTypePrototype : IPrototype
  8. {
  9. [IdDataField]
  10. public string ID { get; private set; } = default!;
  11. /// <summary>
  12. /// The role's name as displayed on the UI.
  13. /// </summary>
  14. [DataField]
  15. public LocId Name = "role-type-crew-aligned-name";
  16. /// <summary>
  17. /// The role's displayed color.
  18. /// </summary>
  19. [DataField]
  20. public Color Color { get; private set; } = Color.FromHex("#eeeeee");
  21. }