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

@@ -5,7 +5,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.BarSign
{
[RegisterComponent]
public class BarSignComponent : Component
public sealed class BarSignComponent : Component
{
[DataField("current")]
[ViewVariables(VVAccess.ReadOnly)]

View File

@@ -6,7 +6,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.BarSign
{
[Prototype("barSign")]
public class BarSignPrototype : IPrototype
public sealed class BarSignPrototype : IPrototype
{
private string _description = string.Empty;
private string _name = string.Empty;

View File

@@ -12,7 +12,7 @@ using Robust.Shared.Random;
namespace Content.Server.BarSign.Systems
{
public class BarSignSystem : EntitySystem
public sealed class BarSignSystem : EntitySystem
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
[Dependency] private readonly IRobustRandom _random = default!;