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

@@ -6,7 +6,7 @@ using Robust.Shared.Localization;
namespace Content.Server.Traitor
{
public class TraitorRole : Role
public sealed class TraitorRole : Role
{
public AntagPrototype Prototype { get; }

View File

@@ -6,7 +6,7 @@ namespace Content.Server.Traitor.Uplink.Account
/// <summary>
/// Invokes when one of the UplinkAccounts changed its TC balance
/// </summary>
public class UplinkAccountBalanceChanged : EntityEventArgs
public sealed class UplinkAccountBalanceChanged : EntityEventArgs
{
public readonly UplinkAccount Account;

View File

@@ -13,7 +13,7 @@ namespace Content.Server.Traitor.Uplink.Account
/// <summary>
/// Manage all registred uplink accounts and their balance
/// </summary>
public class UplinkAccountsSystem : EntitySystem
public sealed class UplinkAccountsSystem : EntitySystem
{
public const string TelecrystalProtoId = "Telecrystal";

View File

@@ -13,7 +13,7 @@ using Robust.Shared.Localization;
namespace Content.Server.Traitor.Uplink.Commands
{
[AdminCommand(AdminFlags.Fun)]
public class AddUplinkCommand : IConsoleCommand
public sealed class AddUplinkCommand : IConsoleCommand
{
public string Command => "adduplink";

View File

@@ -3,7 +3,7 @@ using Robust.Shared.GameObjects;
namespace Content.Server.Traitor.Uplink.Telecrystal
{
[RegisterComponent]
public class TelecrystalComponent : Component
public sealed class TelecrystalComponent : Component
{
}
}

View File

@@ -10,7 +10,7 @@ using System;
namespace Content.Server.Traitor.Uplink.Telecrystal
{
public class TelecrystalSystem : EntitySystem
public sealed class TelecrystalSystem : EntitySystem
{
[Dependency]
private readonly UplinkAccountsSystem _accounts = default!;

View File

@@ -8,7 +8,7 @@ using System;
namespace Content.Server.Traitor.Uplink.Components
{
[RegisterComponent]
public class UplinkComponent : Component
public sealed class UplinkComponent : Component
{
[ViewVariables]
[DataField("buySuccessSound")]
@@ -28,7 +28,7 @@ namespace Content.Server.Traitor.Uplink.Components
[Serializable]
[DataDefinition]
public class PresetUplinkInfo
public sealed class PresetUplinkInfo
{
[DataField("balance")]
public int StartingBalance;

View File

@@ -5,7 +5,7 @@ using Robust.Shared.GameObjects;
namespace Content.Server.Traitor.Uplink
{
public class UplinkInitEvent : EntityEventArgs
public sealed class UplinkInitEvent : EntityEventArgs
{
public UplinkComponent Uplink;
@@ -15,7 +15,7 @@ namespace Content.Server.Traitor.Uplink
}
}
public class UplinkRemovedEvent : EntityEventArgs
public sealed class UplinkRemovedEvent : EntityEventArgs
{
}
}

View File

@@ -11,7 +11,7 @@ namespace Content.Server.Traitor.Uplink
/// <summary>
/// Contains and controls all items in traitors uplink shop
/// </summary>
public class UplinkListingSytem : EntitySystem
public sealed class UplinkListingSytem : EntitySystem
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

View File

@@ -20,7 +20,7 @@ using Robust.Shared.Player;
namespace Content.Server.Traitor.Uplink
{
public class UplinkSystem : EntitySystem
public sealed class UplinkSystem : EntitySystem
{
[Dependency]
private readonly UplinkAccountsSystem _accounts = default!;