2022-02-14 19:41:08 -07:00
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.NameIdentifier;
|
|
|
|
|
|
|
|
|
|
|
|
[Prototype("nameIdentifierGroup")]
|
2023-11-01 19:56:23 -07:00
|
|
|
|
public sealed partial class NameIdentifierGroupPrototype : IPrototype
|
2022-02-14 19:41:08 -07:00
|
|
|
|
{
|
2023-01-19 03:56:45 +01:00
|
|
|
|
[IdDataField]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
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")]
|
2023-05-02 02:56:44 +10:00
|
|
|
|
public int MaxValue = 1000;
|
2022-02-14 19:41:08 -07:00
|
|
|
|
|
|
|
|
|
|
[DataField("minValue")]
|
|
|
|
|
|
public int MinValue = 0;
|
|
|
|
|
|
}
|