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

@@ -9,7 +9,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Client.Atmos.Monitor
{
public class AtmosMonitorVisualizer : AppearanceVisualizer
public sealed class AtmosMonitorVisualizer : AppearanceVisualizer
{
[Dependency] IEntityManager _entityManager = default!;
[DataField("layerMap")]

View File

@@ -8,7 +8,7 @@ using Robust.Shared.Log;
namespace Content.Client.Atmos.Monitor.UI
{
public class AirAlarmBoundUserInterface : BoundUserInterface
public sealed class AirAlarmBoundUserInterface : BoundUserInterface
{
private AirAlarmWindow? _window;

View File

@@ -16,7 +16,7 @@ using Robust.Shared.Localization;
namespace Content.Client.Atmos.Monitor.UI
{
[GenerateTypedNameReferences]
public partial class AirAlarmWindow : DefaultWindow
public sealed partial class AirAlarmWindow : DefaultWindow
{
public event Action<string, IAtmosDeviceData>? AtmosDeviceDataChanged;
public event Action<AtmosMonitorThresholdType, AtmosAlarmThreshold, Gas?>? AtmosAlarmThresholdChanged;

View File

@@ -11,7 +11,7 @@ using Robust.Shared.Localization;
namespace Content.Client.Atmos.Monitor.UI.Widgets
{
[GenerateTypedNameReferences]
public partial class PumpControl : BoxContainer
public sealed partial class PumpControl : BoxContainer
{
private GasVentPumpData _data;
private string _address;

View File

@@ -14,7 +14,7 @@ using Robust.Shared.Localization;
namespace Content.Client.Atmos.Monitor.UI.Widgets
{
[GenerateTypedNameReferences]
public partial class ScrubberControl : BoxContainer
public sealed partial class ScrubberControl : BoxContainer
{
private GasVentScrubberData _data;
private string _address;

View File

@@ -12,7 +12,7 @@ using Robust.Shared.Localization;
namespace Content.Client.Atmos.Monitor.UI.Widgets
{
[GenerateTypedNameReferences]
public partial class ThresholdControl : BoxContainer
public sealed partial class ThresholdControl : BoxContainer
{
private AtmosAlarmThreshold _threshold;
private AtmosMonitorThresholdType _type;
@@ -151,7 +151,7 @@ namespace Content.Client.Atmos.Monitor.UI.Widgets
}
private class ThresholdBoundControl : BoxContainer
private sealed class ThresholdBoundControl : BoxContainer
{
// raw values to use in thresholds, prefer these
// over directly setting Modified(Value/LastValue)