Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IDisposalTubeComponent))]
|
||||
public class DisposalBendComponent : DisposalTubeComponent
|
||||
public sealed class DisposalBendComponent : DisposalTubeComponent
|
||||
{
|
||||
[DataField("sideDegrees")]
|
||||
private int _sideDegrees = -90;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IDisposalTubeComponent))]
|
||||
public class DisposalEntryComponent : DisposalTubeComponent
|
||||
public sealed class DisposalEntryComponent : DisposalTubeComponent
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.Disposal.Tube.Components
|
||||
{
|
||||
[Virtual]
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IDisposalTubeComponent))]
|
||||
public class DisposalJunctionComponent : DisposalTubeComponent
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
[ComponentReference(typeof(IDisposalTubeComponent))]
|
||||
public class DisposalRouterComponent : DisposalJunctionComponent, IActivate
|
||||
public sealed class DisposalRouterComponent : DisposalJunctionComponent, IActivate
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
[ComponentReference(typeof(IDisposalTubeComponent))]
|
||||
public class DisposalTaggerComponent : DisposalTransitComponent, IActivate
|
||||
public sealed class DisposalTaggerComponent : DisposalTransitComponent, IActivate
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
// TODO: Different types of tubes eject in random direction with no exit point
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IDisposalTubeComponent))]
|
||||
[Virtual]
|
||||
public class DisposalTransitComponent : DisposalTubeComponent
|
||||
{
|
||||
protected override Direction[] ConnectableDirections()
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Disposal
|
||||
{
|
||||
[AdminCommand(AdminFlags.Debug)]
|
||||
public class TubeConnectionsCommand : IConsoleCommand
|
||||
public sealed class TubeConnectionsCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "tubeconnections";
|
||||
public string Description => Loc.GetString("tube-connections-command-description");
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.Server.Disposal.Unit.Components
|
||||
{
|
||||
// TODO: Add gas
|
||||
[RegisterComponent]
|
||||
public class DisposalHolderComponent : Component, IGasMixtureHolder
|
||||
public sealed class DisposalHolderComponent : Component, IGasMixtureHolder
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Server.Disposal.Unit.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedDisposalUnitComponent))]
|
||||
public class DisposalUnitComponent : SharedDisposalUnitComponent, IGasMixtureHolder
|
||||
public sealed class DisposalUnitComponent : SharedDisposalUnitComponent, IGasMixtureHolder
|
||||
{
|
||||
/// <summary>
|
||||
/// Last time that an entity tried to exit this disposal unit.
|
||||
|
||||
Reference in New Issue
Block a user