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,7 +6,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.Labels.Components
{
[RegisterComponent]
public class HandLabelerComponent : Component
public sealed class HandLabelerComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("assignedLabel")]

View File

@@ -5,7 +5,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.Labels.Components
{
[RegisterComponent]
public class LabelComponent : Component
public sealed class LabelComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("currentLabel")]

View File

@@ -8,7 +8,7 @@ namespace Content.Server.Labels.Components
/// This component allows you to attach and remove a piece of paper to an entity.
/// </summary>
[RegisterComponent]
public class PaperLabelComponent : Component
public sealed class PaperLabelComponent : Component
{
[DataField("labelSlot")]
public ItemSlot LabelSlot = new();

View File

@@ -18,7 +18,7 @@ namespace Content.Server.Labels
/// A hand labeler system that lets an object apply labels to objects with the <see cref="LabelComponent"/> .
/// </summary>
[UsedImplicitly]
public class HandLabelerSystem : EntitySystem
public sealed class HandLabelerSystem : EntitySystem
{
[Dependency] private readonly UserInterfaceSystem _userInterfaceSystem = default!;

View File

@@ -16,7 +16,7 @@ namespace Content.Server.Labels
/// A system that lets players see the contents of a label on an object.
/// </summary>
[UsedImplicitly]
public class LabelSystem : EntitySystem
public sealed class LabelSystem : EntitySystem
{
[Dependency] private readonly ItemSlotsSystem _itemSlotsSystem = default!;