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

@@ -16,7 +16,7 @@ using static Content.Shared.Wires.SharedWiresComponent;
namespace Content.Server.WireHacking
{
public class WireHackingSystem : EntitySystem
public sealed class WireHackingSystem : EntitySystem
{
[Dependency] private readonly IRobustRandom _random = default!;
[Dependency] private readonly ActionBlockerSystem _blocker = default!;

View File

@@ -30,7 +30,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.WireHacking
{
[RegisterComponent]
public class WiresComponent : SharedWiresComponent, IInteractUsing
public sealed class WiresComponent : SharedWiresComponent, IInteractUsing
{
[Dependency] private readonly IRobustRandom _random = default!;
[Dependency] private readonly IEntityManager _entities = default!;
@@ -202,7 +202,7 @@ namespace Content.Server.WireHacking
return wire.IsCut;
}
public class Wire
public sealed class Wire
{
/// <summary>
/// The component that registered the wire.
@@ -251,7 +251,7 @@ namespace Content.Server.WireHacking
/// <summary>
/// Used by <see cref="IWires.RegisterWires"/>.
/// </summary>
public class WiresBuilder
public sealed class WiresBuilder
{
private readonly WiresComponent _wires;
private readonly IWires _owner;