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 @@ namespace Content.Server.Singularity.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedContainmentFieldComponent))]
public class ContainmentFieldComponent : SharedContainmentFieldComponent
public sealed class ContainmentFieldComponent : SharedContainmentFieldComponent
{
public ContainmentFieldConnection? Parent;
}

View File

@@ -9,7 +9,7 @@ using Timer = Robust.Shared.Timing.Timer;
namespace Content.Server.Singularity.Components
{
public class ContainmentFieldConnection : IDisposable
public sealed class ContainmentFieldConnection : IDisposable
{
public readonly ContainmentFieldGeneratorComponent Generator1;
public readonly ContainmentFieldGeneratorComponent Generator2;

View File

@@ -15,7 +15,7 @@ namespace Content.Server.Singularity.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedContainmentFieldGeneratorComponent))]
public class ContainmentFieldGeneratorComponent : SharedContainmentFieldGeneratorComponent
public sealed class ContainmentFieldGeneratorComponent : SharedContainmentFieldGeneratorComponent
{
[Dependency] private readonly IEntityManager _entMan = default!;

View File

@@ -11,7 +11,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.Singularity.Components
{
[RegisterComponent]
public class EmitterComponent : Component
public sealed class EmitterComponent : Component
{
public CancellationTokenSource? TimerCancel;

View File

@@ -13,7 +13,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.Singularity.Components
{
[RegisterComponent]
public class RadiationCollectorComponent : Component, IInteractHand, IRadiationAct
public sealed class RadiationCollectorComponent : Component, IInteractHand, IRadiationAct
{
[Dependency] private readonly IGameTiming _gameTiming = default!;
[Dependency] private readonly IEntityManager _entMan = default!;

View File

@@ -12,7 +12,7 @@ namespace Content.Server.Singularity.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedSingularityComponent))]
public class ServerSingularityComponent : SharedSingularityComponent
public sealed class ServerSingularityComponent : SharedSingularityComponent
{
[Dependency] private readonly IEntityManager _entMan = default!;

View File

@@ -5,7 +5,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.Singularity.Components
{
[RegisterComponent]
public class SingularityGeneratorComponent : Component
public sealed class SingularityGeneratorComponent : Component
{
[Dependency] private readonly IEntityManager _entMan = default!;

View File

@@ -8,7 +8,7 @@ namespace Content.Server.Singularity.Components
/// Overrides exactly how much energy this object gives to a singularity.
/// </summary>
[RegisterComponent]
public class SinguloFoodComponent : Component
public sealed class SinguloFoodComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("energy")]