Files
crystall-punk-14/Content.Shared/NameIdentifier/NameIdentifierGroupPrototype.cs

26 lines
592 B
C#
Raw Normal View History

2022-02-14 19:41:08 -07:00
using Robust.Shared.Prototypes;
namespace Content.Shared.NameIdentifier;
[Prototype("nameIdentifierGroup")]
public sealed class NameIdentifierGroupPrototype : IPrototype
{
2022-04-03 02:01:22 +02:00
[IdDataFieldAttribute]
2022-02-14 19:41:08 -07:00
public string ID { get; } = default!;
/// <summary>
/// Should the identifier become the full name, or just append?
/// </summary>
[DataField("fullName")]
public bool FullName = false;
[DataField("prefix")]
public string? Prefix;
[DataField("maxValue")]
public int MaxValue = 999;
[DataField("minValue")]
public int MinValue = 0;
}