Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -10,7 +10,7 @@ using Robust.Shared.Maths;
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class AirtightSystem : EntitySystem
|
||||
public sealed class AirtightSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IMapManager _mapManager = default!;
|
||||
[Dependency] private readonly AtmosphereSystem _atmosphereSystem = default!;
|
||||
@@ -132,7 +132,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
}
|
||||
}
|
||||
|
||||
public class AirtightChanged : EntityEventArgs
|
||||
public sealed class AirtightChanged : EntityEventArgs
|
||||
{
|
||||
public AirtightComponent Airtight;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Map;
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
/* doesn't seem to be a use for this at the moment, so it's disabled
|
||||
public class AtmosExposedSystem : EntitySystem
|
||||
public sealed class AtmosExposedSystem : EntitySystem
|
||||
{}
|
||||
*/
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
[Dependency] private readonly IConfigurationManager _cfg = default!;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Map;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems;
|
||||
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
[Dependency] private readonly IConsoleHost _consoleHost = default!;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
private void ExcitedGroupAddTile(ExcitedGroup excitedGroup, TileAtmosphere tile)
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using DependencyAttribute = Robust.Shared.IoC.DependencyAttribute;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _protoMan = default!;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ using Dependency = Robust.Shared.IoC.DependencyAttribute;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
[Dependency] private readonly ITileDefinitionManager _tileDefinitionManager = default!;
|
||||
[Dependency] private readonly GasTileOverlaySystem _gasTileOverlaySystem = default!;
|
||||
@@ -193,7 +193,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
/// <param name="mapGrid">The grid where to get the tile.</param>
|
||||
/// <param name="tile">The indices of the tile.</param>
|
||||
/// <returns></returns>
|
||||
public virtual IEnumerable<AirtightComponent> GetObstructingComponents(IMapGrid mapGrid, Vector2i tile)
|
||||
public IEnumerable<AirtightComponent> GetObstructingComponents(IMapGrid mapGrid, Vector2i tile)
|
||||
{
|
||||
foreach (var uid in mapGrid.GetAnchoredEntities(tile))
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
private const int SpaceWindSoundCooldownCycles = 75;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
[Dependency] private readonly IEntityLookup _lookup = default!;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ using Content.Shared.Atmos;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
private void ProcessCell(GridAtmosphereComponent gridAtmosphere, TileAtmosphere tile, int fireCount)
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
[Dependency] private readonly IRobustRandom _robustRandom = default!;
|
||||
|
||||
@@ -594,7 +594,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
PryTile(mapGrid, tile.GridIndices);
|
||||
}
|
||||
|
||||
private class TileAtmosphereComparer : IComparer<TileAtmosphere?>
|
||||
private sealed class TileAtmosphereComparer : IComparer<TileAtmosphere?>
|
||||
{
|
||||
public int Compare(TileAtmosphere? a, TileAtmosphere? b)
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using Content.Shared.Atmos;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public partial class AtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem
|
||||
{
|
||||
private void Superconduct(GridAtmosphereComponent gridAtmosphere, TileAtmosphere tile)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
/// This is our SSAir equivalent, if you need to interact with or query atmos in any way, go through this.
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
public partial class AtmosphereSystem : SharedAtmosphereSystem
|
||||
public sealed partial class AtmosphereSystem : SharedAtmosphereSystem
|
||||
{
|
||||
[Dependency] private readonly IMapManager _mapManager = default!;
|
||||
[Dependency] private readonly AdminLogSystem _adminLog = default!;
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
public class BarotraumaSystem : EntitySystem
|
||||
public sealed class BarotraumaSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AtmosphereSystem _atmosphereSystem = default!;
|
||||
[Dependency] private readonly DamageableSystem _damageableSystem = default!;
|
||||
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class GasAnalyzerSystem : EntitySystem
|
||||
public sealed class GasAnalyzerSystem : EntitySystem
|
||||
{
|
||||
public override void Update(float frameTime)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class GasTankSystem : EntitySystem
|
||||
public sealed class GasTankSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AtmosphereSystem _atmosphereSystem = default!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user