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

@@ -11,7 +11,7 @@ using Robust.Shared.Utility;
namespace Content.Client.Ghost.Roles.UI
{
[GenerateTypedNameReferences]
public partial class GhostRoleRulesWindow : DefaultWindow
public sealed partial class GhostRoleRulesWindow : DefaultWindow
{
private float _timer = 5.0f;
public GhostRoleRulesWindow(string rules, Action<BaseButton.ButtonEventArgs> requestAction)

View File

@@ -7,7 +7,7 @@ using Robust.Client.UserInterface.XAML;
namespace Content.Client.Ghost.Roles.UI
{
[GenerateTypedNameReferences]
public partial class GhostRolesEntry : BoxContainer
public sealed partial class GhostRolesEntry : BoxContainer
{
public GhostRolesEntry(GhostRoleInfo info, Action<BaseButton.ButtonEventArgs> requestAction)
{

View File

@@ -6,7 +6,7 @@ using JetBrains.Annotations;
namespace Content.Client.Ghost.Roles.UI
{
[UsedImplicitly]
public class GhostRolesEui : BaseEui
public sealed class GhostRolesEui : BaseEui
{
private readonly GhostRolesWindow _window;
private GhostRoleRulesWindow? _windowRules = null;

View File

@@ -6,7 +6,7 @@ using Robust.Client.UserInterface.CustomControls;
namespace Content.Client.Ghost.Roles.UI
{
[GenerateTypedNameReferences]
public partial class GhostRolesWindow : DefaultWindow
public sealed partial class GhostRolesWindow : DefaultWindow
{
public event Action<GhostRoleInfo>? RoleRequested;

View File

@@ -11,7 +11,7 @@ using Robust.Shared.Utility;
namespace Content.Client.Ghost.Roles.UI
{
[UsedImplicitly]
public class MakeGhostRoleEui : BaseEui
public sealed class MakeGhostRoleEui : BaseEui
{
[Dependency] private readonly IPlayerManager _playerManager = default!;
[Dependency] private readonly IClientConsoleHost _consoleHost = default!;

View File

@@ -7,7 +7,7 @@ using static Robust.Client.UserInterface.Controls.BaseButton;
namespace Content.Client.Ghost.Roles.UI
{
[GenerateTypedNameReferences]
public partial class MakeGhostRoleWindow : DefaultWindow
public sealed partial class MakeGhostRoleWindow : DefaultWindow
{
public delegate void MakeRole(EntityUid uid, string name, string description, string rules, bool makeSentient);