Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Content.Server.Morgue.Components
|
||||
[ComponentReference(typeof(EntityStorageComponent))]
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
[ComponentReference(typeof(IStorageComponent))]
|
||||
public class BodyBagEntityStorageComponent : EntityStorageComponent
|
||||
public sealed class BodyBagEntityStorageComponent : EntityStorageComponent
|
||||
{
|
||||
protected override bool AddToContents(EntityUid entity)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace Content.Server.Morgue.Components
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
[ComponentReference(typeof(IStorageComponent))]
|
||||
#pragma warning disable 618
|
||||
public class CrematoriumEntityStorageComponent : MorgueEntityStorageComponent, IExamine, ISuicideAct
|
||||
public sealed class CrematoriumEntityStorageComponent : MorgueEntityStorageComponent, IExamine, ISuicideAct
|
||||
#pragma warning restore 618
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entities = default!;
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace Content.Server.Morgue.Components
|
||||
[ComponentReference(typeof(EntityStorageComponent))]
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
[ComponentReference(typeof(IStorageComponent))]
|
||||
[Virtual]
|
||||
#pragma warning disable 618
|
||||
public class MorgueEntityStorageComponent : EntityStorageComponent, IExamine
|
||||
#pragma warning restore 618
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Server.Morgue.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
public class MorgueTrayComponent : Component, IActivate
|
||||
public sealed class MorgueTrayComponent : Component, IActivate
|
||||
{
|
||||
[ViewVariables]
|
||||
public EntityUid Morgue { get; set; }
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Morgue
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class MorgueSystem : EntitySystem
|
||||
public sealed class MorgueSystem : EntitySystem
|
||||
{
|
||||
|
||||
private float _accumulatedFrameTime;
|
||||
|
||||
Reference in New Issue
Block a user