Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -11,7 +11,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class AGhost : IConsoleCommand
|
||||
public sealed class AGhost : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entities = default!;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class AddBodyPartCommand : IConsoleCommand
|
||||
public sealed class AddBodyPartCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "addbodypart";
|
||||
public string Description => "Adds a given entity to a containing body.";
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class AddEntityStorageCommand : IConsoleCommand
|
||||
public sealed class AddEntityStorageCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "addstorage";
|
||||
public string Description => "Adds a given entity to a containing storage.";
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class AddMechanismCommand : IConsoleCommand
|
||||
public sealed class AddMechanismCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "addmechanism";
|
||||
public string Description => "Adds a given entity to a containing body.";
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Server.Administration.Commands
|
||||
/// Command that allows you to edit an existing solution by adding (or removing) reagents.
|
||||
/// </summary>
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class AddReagent : IConsoleCommand
|
||||
public sealed class AddReagent : IConsoleCommand
|
||||
{
|
||||
public string Command => "addreagent";
|
||||
public string Description => "Add (or remove) some amount of reagent from some solution.";
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Administration.Commands;
|
||||
|
||||
#if DEBUG
|
||||
[AdminCommand(AdminFlags.Host)]
|
||||
public class AdminLogBulk : IConsoleCommand
|
||||
public sealed class AdminLogBulk : IConsoleCommand
|
||||
{
|
||||
public string Command => "adminlogbulk";
|
||||
public string Description => "Adds debug logs to the database.";
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class AnnounceUiCommand : IConsoleCommand
|
||||
public sealed class AnnounceUiCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "announceui";
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Network;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Ban)]
|
||||
public class BanListCommand : IConsoleCommand
|
||||
public sealed class BanListCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "banlist";
|
||||
public string Description => "Lists somebody's bans";
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Utility;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
class ControlMob : IConsoleCommand
|
||||
sealed class ControlMob : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entities = default!;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
class DSay : IConsoleCommand
|
||||
sealed class DSay : IConsoleCommand
|
||||
{
|
||||
public string Command => "dsay";
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[AdminCommand(AdminFlags.None)]
|
||||
public class DeAdminCommand : IConsoleCommand
|
||||
public sealed class DeAdminCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "deadmin";
|
||||
public string Description => "Temporarily de-admins you so you can experience the round as a normal player.";
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.VarEdit)]
|
||||
public class DeleteComponent : IConsoleCommand
|
||||
public sealed class DeleteComponent : IConsoleCommand
|
||||
{
|
||||
public string Command => "deletecomponent";
|
||||
public string Description => "Deletes all instances of the specified component.";
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.VarEdit)]
|
||||
class DeleteEntitiesWithComponent : IConsoleCommand
|
||||
sealed class DeleteEntitiesWithComponent : IConsoleCommand
|
||||
{
|
||||
public string Command => "deleteewc";
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Spawn)]
|
||||
public class DeleteEntitiesWithId : IConsoleCommand
|
||||
public sealed class DeleteEntitiesWithId : IConsoleCommand
|
||||
{
|
||||
public string Command => "deleteewi";
|
||||
public string Description => "Deletes entities with the specified prototype ID.";
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Spawn)]
|
||||
public class DeleteEntityCommand : IConsoleCommand
|
||||
public sealed class DeleteEntityCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "deleteentity";
|
||||
public string Description => "Deletes an entity with the given id.";
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Mapping)]
|
||||
public class FindEntitiesWithComponents : IConsoleCommand
|
||||
public sealed class FindEntitiesWithComponents : IConsoleCommand
|
||||
{
|
||||
public string Command => "findentitieswithcomponents";
|
||||
public string Description => "Finds entities with all of the specified components.";
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands;
|
||||
|
||||
[AdminCommand(AdminFlags.Logs)]
|
||||
public class OpenAdminLogsCommand : IConsoleCommand
|
||||
public sealed class OpenAdminLogsCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "adminlogs";
|
||||
public string Description => "Opens the admin logs panel.";
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Random;
|
||||
namespace Content.Server.Administration.Commands;
|
||||
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class OwoifyCommand : IConsoleCommand
|
||||
public sealed class OwoifyCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "owoify";
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Ban)]
|
||||
public class PardonCommand : IConsoleCommand
|
||||
public sealed class PardonCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "pardon";
|
||||
public string Description => "Pardons somebody's ban";
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AnyCommand]
|
||||
public class ReAdminCommand : IConsoleCommand
|
||||
public sealed class ReAdminCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "readmin";
|
||||
public string Description => "Re-admins you if you previously de-adminned.";
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Round)]
|
||||
public class ReadyAll : IConsoleCommand
|
||||
public sealed class ReadyAll : IConsoleCommand
|
||||
{
|
||||
public string Command => "readyall";
|
||||
public string Description => "Readies up all players in the lobby, except for observers.";
|
||||
|
||||
@@ -17,7 +17,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class RejuvenateCommand : IConsoleCommand
|
||||
public sealed class RejuvenateCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "rejuvenate";
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class RemoveBodyPartCommand : IConsoleCommand
|
||||
public sealed class RemoveBodyPartCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "rmbodypart";
|
||||
public string Description => "Removes a given entity from it's containing body, if any.";
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class RemoveEntityStorageCommand : IConsoleCommand
|
||||
public sealed class RemoveEntityStorageCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "rmstorage";
|
||||
public string Description => "Removes a given entity from it's containing storage, if any.";
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.Prototypes;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Mapping)]
|
||||
public class RemoveExtraComponents : IConsoleCommand
|
||||
public sealed class RemoveExtraComponents : IConsoleCommand
|
||||
{
|
||||
public string Command => "removeextracomponents";
|
||||
public string Description => "Removes all components from all entities of the specified id if that component is not in its prototype.\nIf no id is specified, it matches all entities.";
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class RemoveMechanismCommand : IConsoleCommand
|
||||
public sealed class RemoveMechanismCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "rmmechanism";
|
||||
public string Description => "Removes a given entity from it's containing bodypart, if any.";
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Maths;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
internal class SetAdminOOC : IConsoleCommand
|
||||
internal sealed class SetAdminOOC : IConsoleCommand
|
||||
{
|
||||
public string Command => "setadminooc";
|
||||
public string Description => Loc.GetString("set-admin-ooc-command-description", ("command", Command));
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
class SetMindCommand : IConsoleCommand
|
||||
sealed class SetMindCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "setmind";
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ using InventoryComponent = Content.Shared.Inventory.InventoryComponent;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
class SetOutfitCommand : IConsoleCommand
|
||||
sealed class SetOutfitCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "setoutfit";
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class SetSolutionCapacity : IConsoleCommand
|
||||
public sealed class SetSolutionCapacity : IConsoleCommand
|
||||
{
|
||||
public string Command => "setsolutioncapacity";
|
||||
public string Description => "Set the capacity (maximum volume) of some solution.";
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class SetSolutionTemperature : IConsoleCommand
|
||||
public sealed class SetSolutionTemperature : IConsoleCommand
|
||||
{
|
||||
public string Command => "setsolutiontemperature";
|
||||
public string Description => "Set the temperature of some solution.";
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class SetSolutionThermalEnergy : IConsoleCommand
|
||||
public sealed class SetSolutionThermalEnergy : IConsoleCommand
|
||||
{
|
||||
public string Command => "setsolutionthermalenergy";
|
||||
public string Description => "Set the thermal energy of some solution.";
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Round)]
|
||||
public class CallShuttleCommand : IConsoleCommand
|
||||
public sealed class CallShuttleCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "callshuttle";
|
||||
public string Description => Loc.GetString("call-shuttle-command-description");
|
||||
@@ -37,7 +37,7 @@ namespace Content.Server.Administration.Commands
|
||||
}
|
||||
|
||||
[AdminCommand(AdminFlags.Round)]
|
||||
public class RecallShuttleCommand : IConsoleCommand
|
||||
public sealed class RecallShuttleCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "recallshuttle";
|
||||
public string Description => Loc.GetString("recall-shuttle-command-description");
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Prototypes;
|
||||
namespace Content.Server.Administration.Commands.Station;
|
||||
|
||||
[AdminCommand(AdminFlags.Round)]
|
||||
public class AdjustStationJobCommand : IConsoleCommand
|
||||
public sealed class AdjustStationJobCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "adjstationjob";
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands.Station;
|
||||
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class ListStationJobsCommand : IConsoleCommand
|
||||
public sealed class ListStationJobsCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "lsstationjobs";
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.Administration.Commands.Station;
|
||||
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class ListStationsCommand : IConsoleCommand
|
||||
public sealed class ListStationsCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "lsstations";
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Server.Administration.Commands.Station;
|
||||
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class RenameStationCommand : IConsoleCommand
|
||||
public sealed class RenameStationCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "renamestation";
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ using Robust.Shared.Physics;
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class WarpCommand : IConsoleCommand
|
||||
public sealed class WarpCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "warp";
|
||||
public string Description => "Teleports you to predefined areas on the map.";
|
||||
|
||||
Reference in New Issue
Block a user