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

@@ -8,7 +8,7 @@ namespace Content.Client.Lathe.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedLatheDatabaseComponent))]
public class LatheDatabaseComponent : SharedLatheDatabaseComponent
public sealed class LatheDatabaseComponent : SharedLatheDatabaseComponent
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

View File

@@ -7,7 +7,7 @@ namespace Content.Client.Lathe.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedMaterialStorageComponent))]
public class MaterialStorageComponent : SharedMaterialStorageComponent
public sealed class MaterialStorageComponent : SharedMaterialStorageComponent
{
protected override Dictionary<string, int> Storage { get; set; } = new();

View File

@@ -9,7 +9,7 @@ namespace Content.Client.Lathe.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedLatheDatabaseComponent))]
public class ProtolatheDatabaseComponent : SharedProtolatheDatabaseComponent
public sealed class ProtolatheDatabaseComponent : SharedProtolatheDatabaseComponent
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

View File

@@ -11,7 +11,7 @@ using static Content.Shared.Lathe.SharedLatheComponent;
namespace Content.Client.Lathe.UI
{
public class LatheBoundUserInterface : BoundUserInterface
public sealed class LatheBoundUserInterface : BoundUserInterface
{
[Dependency] private readonly IEntityManager _entMan = default!;
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

View File

@@ -12,7 +12,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
namespace Content.Client.Lathe.UI
{
public class LatheMenu : DefaultWindow
public sealed class LatheMenu : DefaultWindow
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

View File

@@ -9,7 +9,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
namespace Content.Client.Lathe.UI
{
public class LatheQueueMenu : DefaultWindow
public sealed class LatheQueueMenu : DefaultWindow
{
public LatheBoundUserInterface Owner { get; set; }

View File

@@ -10,7 +10,7 @@ using Robust.Shared.IoC;
namespace Content.Client.Lathe.Visualizers
{
[UsedImplicitly]
public class AutolatheVisualizer : AppearanceVisualizer
public sealed class AutolatheVisualizer : AppearanceVisualizer
{
[Dependency] private readonly IEntityManager _entMan = default!;

View File

@@ -10,7 +10,7 @@ using Robust.Shared.IoC;
namespace Content.Client.Lathe.Visualizers
{
[UsedImplicitly]
public class ProtolatheVisualizer : AppearanceVisualizer
public sealed class ProtolatheVisualizer : AppearanceVisualizer
{
[Dependency] private readonly IEntityManager _entMan = default!;