Serv3 rework content changes (#7145)

This commit is contained in:
Paul Ritter
2022-04-03 02:01:22 +02:00
committed by GitHub
parent 6b01ab17a6
commit 2ff40d5a1f
133 changed files with 476 additions and 324 deletions

View File

@@ -15,7 +15,7 @@ namespace Content.Shared.Body.Prototypes
public sealed class BodyPresetPrototype : IPrototype
{
[ViewVariables]
[DataField("id", required: true)]
[IdDataFieldAttribute]
public string ID { get; } = default!;
[DataField("partIDs")]

View File

@@ -28,7 +28,7 @@ namespace Content.Shared.Body.Prototypes
private Dictionary<string, string> _mechanismLayers = new();
[ViewVariables]
[DataField("id", required: true)]
[IdDataFieldAttribute]
public string ID { get; } = default!;
[ViewVariables]

View File

@@ -6,7 +6,7 @@ namespace Content.Shared.Body.Prototypes
[Prototype("metabolismGroup")]
public sealed class MetabolismGroupPrototype : IPrototype
{
[DataField("id", required: true)]
[IdDataFieldAttribute]
public string ID { get; } = default!;
}
}

View File

@@ -6,7 +6,7 @@ namespace Content.Shared.Body.Prototypes
[Prototype("metabolizerType")]
public sealed class MetabolizerTypePrototype : IPrototype
{
[DataField("id", required: true)]
[IdDataFieldAttribute]
public string ID { get; } = default!;
}
}