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

@@ -17,7 +17,7 @@ using static Robust.Client.UserInterface.Controls.BaseButton;
namespace Content.Client.Suspicion
{
[GenerateTypedNameReferences]
public partial class SuspicionGui : Control
public sealed partial class SuspicionGui : Control
{
[Dependency] private readonly IPlayerManager _playerManager = default!;
[Dependency] private readonly IGameTiming _timing = default!;

View File

@@ -12,7 +12,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Client.Suspicion
{
[RegisterComponent]
public class SuspicionRoleComponent : SharedSuspicionRoleComponent
public sealed class SuspicionRoleComponent : SharedSuspicionRoleComponent
{
[Dependency] private readonly IGameHud _gameHud = default!;
[Dependency] private readonly IOverlayManager _overlayManager = default!;

View File

@@ -3,7 +3,7 @@ using Robust.Shared.GameObjects;
namespace Content.Client.Suspicion
{
class SuspicionRoleSystem : EntitySystem
sealed class SuspicionRoleSystem : EntitySystem
{
public override void Initialize()
{

View File

@@ -12,7 +12,7 @@ using Robust.Shared.Physics;
namespace Content.Client.Suspicion
{
public class TraitorOverlay : Overlay
public sealed class TraitorOverlay : Overlay
{
private readonly IEntityManager _entityManager;
private readonly IPlayerManager _playerManager;