Files
tbd-station-14/Content.Shared/NameIdentifier/NameIdentifierGroupPrototype.cs
2022-02-15 13:41:08 +11:00

26 lines
603 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.NameIdentifier;
[Prototype("nameIdentifierGroup")]
public sealed class NameIdentifierGroupPrototype : IPrototype
{
[DataField("id", required: true)]
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;
}