Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Content.Server.Storage.Components
|
||||
/// Allows locking/unlocking, with access determined by AccessReader
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class LockComponent : Component
|
||||
public sealed class LockComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite)] [DataField("locked")] public bool Locked { get; set; } = true;
|
||||
[ViewVariables(VVAccess.ReadWrite)] [DataField("lockOnClick")] public bool LockOnClick { get; set; } = false;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Content.Server.Lock
|
||||
/// Handles (un)locking and examining of Lock components
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
public class LockSystem : EntitySystem
|
||||
public sealed class LockSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AccessReaderSystem _accessReader = default!;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.Lock
|
||||
{
|
||||
public class LockToggledEvent : EntityEventArgs
|
||||
public sealed class LockToggledEvent : EntityEventArgs
|
||||
{
|
||||
public readonly bool Locked;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user