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

@@ -8,7 +8,7 @@ namespace Content.Server.Stack
// TODO: Naming and presentation and such could use some improvement.
[RegisterComponent, Friend(typeof(StackSystem))]
[ComponentReference(typeof(SharedStackComponent))]
public class StackComponent : SharedStackComponent
public sealed class StackComponent : SharedStackComponent
{
[ViewVariables(VVAccess.ReadWrite)]
public bool ThrowIndividually { get; set; } = false;

View File

@@ -21,7 +21,7 @@ namespace Content.Server.Stack
/// This is a good example for learning how to code in an ECS manner.
/// </summary>
[UsedImplicitly]
public class StackSystem : SharedStackSystem
public sealed class StackSystem : SharedStackSystem
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
[Dependency] private readonly PopupSystem _popupSystem = default!;