Serv3 rework content changes (#7145)
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Content.Shared.Alert
|
||||
public sealed class AlertOrderPrototype : IPrototype, IComparer<AlertPrototype>, ISerializationHooks
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("id", required: true)]
|
||||
[IdDataFieldAttribute]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[DataField("order")] private readonly List<(string type, string alert)> _order = new();
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Content.Shared.Alert
|
||||
/// <summary>
|
||||
/// Type of alert, no 2 alert prototypes should have the same one.
|
||||
/// </summary>
|
||||
[DataField("alertType")]
|
||||
[IdDataFieldAttribute]
|
||||
public AlertType AlertType { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user