Seal/abstract/virtual everything (#6739)

This commit is contained in:
mirrorcult
2022-02-16 00:23:23 -07:00
committed by GitHub
parent 4dfcacb86a
commit ec4d4688c7
1771 changed files with 2216 additions and 2164 deletions

View File

@@ -12,7 +12,7 @@ namespace Content.Shared.Body.Prototypes
/// </summary>
[Prototype("bodyPreset")]
[Serializable, NetSerializable]
public class BodyPresetPrototype : IPrototype
public sealed class BodyPresetPrototype : IPrototype
{
[ViewVariables]
[DataField("id", required: true)]

View File

@@ -13,7 +13,7 @@ namespace Content.Shared.Body.Prototypes
/// </summary>
[Prototype("bodyTemplate")]
[Serializable, NetSerializable]
public class BodyTemplatePrototype : IPrototype, ISerializationHooks
public sealed class BodyTemplatePrototype : IPrototype, ISerializationHooks
{
[DataField("slots")]
private Dictionary<string, BodyPartType> _slots = new();

View File

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

View File

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