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

@@ -6,5 +6,6 @@ namespace Content.Client.Items.Components
{
[RegisterComponent]
[ComponentReference(typeof(SharedItemComponent))]
[Virtual]
public class ItemComponent : SharedItemComponent { }
}

View File

@@ -3,7 +3,7 @@ using Robust.Shared.GameObjects;
namespace Content.Client.Items.Components
{
[RegisterComponent]
public class ItemStatusComponent : Component
public sealed class ItemStatusComponent : Component
{
}
}

View File

@@ -18,7 +18,7 @@ using Robust.Shared.Timing;
namespace Content.Client.Items.Managers
{
public class ItemSlotManager : IItemSlotManager
public sealed class ItemSlotManager : IItemSlotManager
{
[Dependency] private readonly IGameTiming _gameTiming = default!;
[Dependency] private readonly IEntitySystemManager _entitySystemManager = default!;

View File

@@ -16,6 +16,7 @@ using Robust.Shared.Utility;
namespace Content.Client.Items.UI
{
[Virtual]
public class ItemSlotButton : Control, IEntityEventSubscriber
{
private const string HighlightShader = "SelectionOutlineInrange";

View File

@@ -18,7 +18,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
namespace Content.Client.Items.UI
{
public class ItemStatusPanel : Control
public sealed class ItemStatusPanel : Control
{
[Dependency] private readonly IEntityManager _entityManager = default!;