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

26 lines
605 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 partial class NameIdentifierGroupPrototype : IPrototype
2022-02-14 19:41:08 -07:00
{
[IdDataField]
public string ID { get; private set; } = default!;
2022-02-14 19:41:08 -07:00
/// <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 = 1000;
2022-02-14 19:41:08 -07:00
[DataField("minValue")]
public int MinValue = 0;
}