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

@@ -17,7 +17,7 @@ namespace Content.Server.AME
/// Node group class for handling the Antimatter Engine's console and parts.
/// </summary>
[NodeGroup(NodeGroupID.AMEngine)]
public class AMENodeGroup : BaseNodeGroup
public sealed class AMENodeGroup : BaseNodeGroup
{
/// <summary>
/// The AME controller which is currently in control of this node group.

View File

@@ -5,7 +5,7 @@ using Robust.Shared.GameObjects;
namespace Content.Server.AME
{
[UsedImplicitly]
public class AntimatterEngineSystem : EntitySystem
public sealed class AntimatterEngineSystem : EntitySystem
{
private float _accumulatedFrameTime;

View File

@@ -26,7 +26,7 @@ namespace Content.Server.AME.Components
[RegisterComponent]
[ComponentReference(typeof(IActivate))]
[ComponentReference(typeof(IInteractUsing))]
public class AMEControllerComponent : SharedAMEControllerComponent, IActivate, IInteractUsing
public sealed class AMEControllerComponent : SharedAMEControllerComponent, IActivate, IInteractUsing
{
[Dependency] private readonly IEntityManager _entities = default!;

View File

@@ -4,7 +4,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.AME.Components
{
[RegisterComponent]
public class AMEFuelContainerComponent : Component
public sealed class AMEFuelContainerComponent : Component
{
private int _fuelAmount;
private int _maxFuelAmount;

View File

@@ -20,7 +20,7 @@ namespace Content.Server.AME.Components
{
[RegisterComponent]
[ComponentReference(typeof(IInteractUsing))]
public class AMEPartComponent : Component, IInteractUsing
public sealed class AMEPartComponent : Component, IInteractUsing
{
[Dependency] private readonly IMapManager _mapManager = default!;
[Dependency] private readonly IServerEntityManager _serverEntityManager = default!;

View File

@@ -8,7 +8,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.AME.Components
{
[RegisterComponent]
public class AMEShieldComponent : SharedAMEShieldComponent
public sealed class AMEShieldComponent : SharedAMEShieldComponent
{
private bool _isCore = false;