NameIdentifierGroupPrototype.cs 582 B

12345678910111213141516171819202122232425
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.NameIdentifier;
  3. [Prototype]
  4. public sealed partial class NameIdentifierGroupPrototype : IPrototype
  5. {
  6. [IdDataField]
  7. public string ID { get; private set; } = default!;
  8. /// <summary>
  9. /// Should the identifier become the full name, or just append?
  10. /// </summary>
  11. [DataField("fullName")]
  12. public bool FullName = false;
  13. [DataField("prefix")]
  14. public string? Prefix;
  15. [DataField("maxValue")]
  16. public int MaxValue = 1000;
  17. [DataField("minValue")]
  18. public int MinValue = 0;
  19. }