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

@@ -10,7 +10,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Client.Instruments;
[RegisterComponent, ComponentReference(typeof(SharedInstrumentComponent))]
public class InstrumentComponent : SharedInstrumentComponent
public sealed class InstrumentComponent : SharedInstrumentComponent
{
public event Action? OnMidiPlaybackEnded;

View File

@@ -18,7 +18,7 @@ using SharpFont;
namespace Content.Client.Instruments
{
[UsedImplicitly]
public class InstrumentSystem : SharedInstrumentSystem
public sealed class InstrumentSystem : SharedInstrumentSystem
{
[Dependency] private readonly IClientNetManager _netManager = default!;
[Dependency] private readonly IMidiManager _midiManager = default!;

View File

@@ -5,7 +5,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Client.Instruments.UI
{
public class InstrumentBoundUserInterface : BoundUserInterface
public sealed class InstrumentBoundUserInterface : BoundUserInterface
{
[ViewVariables]
private InstrumentMenu? _instrumentMenu;

View File

@@ -19,7 +19,7 @@ using Range = Robust.Client.UserInterface.Controls.Range;
namespace Content.Client.Instruments.UI
{
[GenerateTypedNameReferences]
public partial class InstrumentMenu : DefaultWindow
public sealed partial class InstrumentMenu : DefaultWindow
{
[Dependency] private readonly IMidiManager _midiManager = default!;
[Dependency] private readonly IFileDialogManager _fileDialogManager = default!;