Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.Traitor.Uplink.Telecrystal
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class TelecrystalComponent : Component
|
||||
public sealed class TelecrystalComponent : Component
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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!;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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!;
|
||||
|
||||
|
||||
@@ -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!;
|
||||
|
||||
Reference in New Issue
Block a user