Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Content.Server.Chemistry.Components
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
[ComponentReference(typeof(SharedChemMasterComponent))]
|
||||
public class ChemMasterComponent : SharedChemMasterComponent, IActivate
|
||||
public sealed class ChemMasterComponent : SharedChemMasterComponent, IActivate
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entities = default!;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Server.Chemistry.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SolutionAreaEffectComponent))]
|
||||
public class FoamSolutionAreaEffectComponent : SolutionAreaEffectComponent
|
||||
public sealed class FoamSolutionAreaEffectComponent : SolutionAreaEffectComponent
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace Content.Server.Chemistry.Components
|
||||
/// containers, and can directly inject into a mobs bloodstream.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class InjectorComponent : SharedInjectorComponent
|
||||
public sealed class InjectorComponent : SharedInjectorComponent
|
||||
{
|
||||
public const string SolutionName = "injector";
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Chemistry.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class MeleeChemicalInjectorComponent : Component
|
||||
public sealed class MeleeChemicalInjectorComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("transferAmount")]
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace Content.Server.Chemistry.Components
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
[ComponentReference(typeof(SharedReagentDispenserComponent))]
|
||||
public class ReagentDispenserComponent : SharedReagentDispenserComponent, IActivate
|
||||
public sealed class ReagentDispenserComponent : SharedReagentDispenserComponent, IActivate
|
||||
{
|
||||
private static ReagentInventoryComparer _comparer = new();
|
||||
public static string SolutionName = "reagent";
|
||||
@@ -302,7 +302,7 @@ namespace Content.Server.Chemistry.Components
|
||||
SoundSystem.Play(Filter.Pvs(Owner), _clickSound.GetSound(), Owner, AudioParams.Default.WithVolume(-2f));
|
||||
}
|
||||
|
||||
private class ReagentInventoryComparer : Comparer<ReagentDispenserInventoryEntry>
|
||||
private sealed class ReagentInventoryComparer : Comparer<ReagentDispenserInventoryEntry>
|
||||
{
|
||||
public override int Compare(ReagentDispenserInventoryEntry x, ReagentDispenserInventoryEntry y)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Chemistry.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class ReagentTankComponent : Component
|
||||
public sealed class ReagentTankComponent : Component
|
||||
{
|
||||
[DataField("transferAmount")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Chemistry.Components
|
||||
/// But specifically, this component deletes the entity and spawns in a new entity when the entity is exposed to a given reagent.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class RehydratableComponent : Component
|
||||
public sealed class RehydratableComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("catalyst")]
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Server.Chemistry.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SolutionAreaEffectComponent))]
|
||||
public class SmokeSolutionAreaEffectComponent : SolutionAreaEffectComponent
|
||||
public sealed class SmokeSolutionAreaEffectComponent : SolutionAreaEffectComponent
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Chemistry.Components
|
||||
/// </summary>
|
||||
/// <remarks> It should only be manually added to an entity by the <see cref="SolutionAreaEffectComponent"/> and not with a prototype.</remarks>
|
||||
[RegisterComponent]
|
||||
public class SolutionAreaEffectInceptionComponent : Component
|
||||
public sealed class SolutionAreaEffectInceptionComponent : Component
|
||||
{
|
||||
private const float ReactionDelay = 1.5f;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
/// Think pouring this or draining from a water tank.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class DrainableSolutionComponent : Component
|
||||
public sealed class DrainableSolutionComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Solution name that can be drained.
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
/// Denotes the solution that can removed be with syringes.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class DrawableSolutionComponent : Component
|
||||
public sealed class DrawableSolutionComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Solution name that can be removed with syringes.
|
||||
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class ExaminableSolutionComponent: Component
|
||||
public sealed class ExaminableSolutionComponent: Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("solution")]
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
/// Denotes a solution which can be added with syringes.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class InjectableSolutionComponent : Component
|
||||
public sealed class InjectableSolutionComponent : Component
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
/// tank of a car.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class RefillableSolutionComponent : Component
|
||||
public sealed class RefillableSolutionComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Solution name that can added to easily.
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Chemistry.Components.SolutionManager
|
||||
{
|
||||
[RegisterComponent]
|
||||
[Friend(typeof(SolutionContainerSystem))]
|
||||
public class SolutionContainerManagerComponent : Component
|
||||
public sealed class SolutionContainerManagerComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("solutions")]
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Utility;
|
||||
namespace Content.Server.Chemistry.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class TransformableContainerComponent : Component
|
||||
public sealed class TransformableContainerComponent : Component
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user