Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Content.Shared.Damage.Prototypes
|
||||
/// </remarks>
|
||||
[Prototype("damageContainer")]
|
||||
[Serializable, NetSerializable]
|
||||
public class DamageContainerPrototype : IPrototype
|
||||
public sealed class DamageContainerPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("id", required: true)]
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.Shared.Damage.Prototypes
|
||||
/// </remarks>
|
||||
[Prototype("damageGroup")]
|
||||
[Serializable, NetSerializable]
|
||||
public class DamageGroupPrototype : IPrototype
|
||||
public sealed class DamageGroupPrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)] public string ID { get; } = default!;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.Shared.Damage.Prototypes
|
||||
/// just want normal data to be deserialized.
|
||||
/// </remarks>
|
||||
[Prototype("damageModifierSet")]
|
||||
public class DamageModifierSetPrototype : DamageModifierSet, IPrototype
|
||||
public sealed class DamageModifierSetPrototype : DamageModifierSet, IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("id", required: true)]
|
||||
|
||||
@@ -6,11 +6,11 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Shared.Damage.Prototypes
|
||||
{
|
||||
/// <summary>
|
||||
/// A single damage type. These types are grouped together in <see cref="DamageGroupPrototype"/>s.
|
||||
/// A single damage type. These types are grouped together in <see cref="DamageGroupPrototype"/>s.
|
||||
/// </summary>
|
||||
[Prototype("damageType")]
|
||||
[Serializable, NetSerializable]
|
||||
public class DamageTypePrototype : IPrototype
|
||||
public sealed class DamageTypePrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Damage.Prototypes;
|
||||
/// Prototype for examinable damage messages.
|
||||
/// </summary>
|
||||
[Prototype("examinableDamage")]
|
||||
public class ExaminableDamagePrototype : IPrototype
|
||||
public sealed class ExaminableDamagePrototype : IPrototype
|
||||
{
|
||||
[DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
Reference in New Issue
Block a user