Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -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")]
|
||||
|
||||
@@ -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")]
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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!;
|
||||
|
||||
|
||||
@@ -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!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user