Serv3 rework content changes (#7145)
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Content.Shared.Damage.Prototypes
|
||||
public sealed class DamageContainerPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("id", required: true)]
|
||||
[IdDataFieldAttribute]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Content.Shared.Damage.Prototypes
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class DamageGroupPrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)] public string ID { get; } = default!;
|
||||
[IdDataFieldAttribute] public string ID { get; } = default!;
|
||||
|
||||
[DataField("damageTypes", required: true, customTypeSerializer: typeof(PrototypeIdListSerializer<DamageTypePrototype>))]
|
||||
public List<string> DamageTypes { get; } = default!;
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Content.Shared.Damage.Prototypes
|
||||
public sealed class DamageModifierSetPrototype : DamageModifierSet, IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("id", required: true)]
|
||||
[IdDataFieldAttribute]
|
||||
public string ID { get; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Shared.Damage.Prototypes
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class DamageTypePrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)]
|
||||
[IdDataFieldAttribute]
|
||||
public string ID { get; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Shared.Damage.Prototypes;
|
||||
[Prototype("examinableDamage")]
|
||||
public sealed class ExaminableDamagePrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)]
|
||||
[IdDataFieldAttribute]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user