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

@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Round)]
class DelayStartCommand : IConsoleCommand
sealed class DelayStartCommand : IConsoleCommand
{
public string Command => "delaystart";
public string Description => "Delays the round start.";

View File

@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Round)]
class EndRoundCommand : IConsoleCommand
sealed class EndRoundCommand : IConsoleCommand
{
public string Command => "endround";
public string Description => "Ends the round and moves the server to PostRound.";

View File

@@ -11,7 +11,7 @@ using Robust.Shared.Localization;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Round)]
class ForceMapCommand : IConsoleCommand
sealed class ForceMapCommand : IConsoleCommand
{
public string Command => "forcemap";
public string Description => "forcemap-command-description";

View File

@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Round)]
class ForcePresetCommand : IConsoleCommand
sealed class ForcePresetCommand : IConsoleCommand
{
public string Command => "forcepreset";
public string Description => "Forces a specific game preset to start for the current lobby.";

View File

@@ -12,7 +12,7 @@ using Robust.Shared.IoC;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Round)]
public class GoLobbyCommand : IConsoleCommand
public sealed class GoLobbyCommand : IConsoleCommand
{
public string Command => "golobby";
public string Description => "Enables the lobby and restarts the round.";

View File

@@ -15,7 +15,7 @@ using Robust.Shared.Prototypes;
namespace Content.Server.GameTicking.Commands
{
[AnyCommand]
class JoinGameCommand : IConsoleCommand
sealed class JoinGameCommand : IConsoleCommand
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

View File

@@ -16,7 +16,7 @@ using Robust.Shared.Utility;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Server | AdminFlags.Mapping)]
class MappingCommand : IConsoleCommand
sealed class MappingCommand : IConsoleCommand
{
[Dependency] private readonly IEntityManager _entities = default!;

View File

@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
namespace Content.Server.GameTicking.Commands
{
[AnyCommand]
class ObserveCommand : IConsoleCommand
sealed class ObserveCommand : IConsoleCommand
{
public string Command => "observe";
public string Description => "";

View File

@@ -7,7 +7,7 @@ using Robust.Shared.Network;
namespace Content.Server.GameTicking.Commands
{
class RespawnCommand : IConsoleCommand
sealed class RespawnCommand : IConsoleCommand
{
public string Command => "respawn";
public string Description => "Respawns a player, kicking them back to the lobby.";

View File

@@ -8,7 +8,7 @@ using Robust.Shared.GameObjects;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Round)]
public class RestartRoundCommand : IConsoleCommand
public sealed class RestartRoundCommand : IConsoleCommand
{
public string Command => "restartround";
public string Description => "Ends the current round and starts the countdown for the next lobby.";
@@ -29,7 +29,7 @@ namespace Content.Server.GameTicking.Commands
}
[AdminCommand(AdminFlags.Round)]
public class RestartRoundNowCommand : IConsoleCommand
public sealed class RestartRoundNowCommand : IConsoleCommand
{
public string Command => "restartroundnow";
public string Description => "Moves the server from PostRound to a new PreRoundLobby.";

View File

@@ -7,7 +7,7 @@ using Robust.Shared.IoC;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Round)]
class SetGamePresetCommand : IConsoleCommand
sealed class SetGamePresetCommand : IConsoleCommand
{
public string Command => "setgamepreset";
public string Description => "";

View File

@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Round)]
class StartRoundCommand : IConsoleCommand
sealed class StartRoundCommand : IConsoleCommand
{
public string Command => "startround";
public string Description => "Ends PreRoundLobby state and starts the round.";

View File

@@ -9,7 +9,7 @@ using Robust.Shared.IoC;
namespace Content.Server.GameTicking.Commands
{
[AdminCommand(AdminFlags.Round)]
class ToggleDisallowLateJoinCommand : IConsoleCommand
sealed class ToggleDisallowLateJoinCommand : IConsoleCommand
{
public string Command => "toggledisallowlatejoin";
public string Description => "Allows or disallows latejoining during mid-game.";

View File

@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
namespace Content.Server.GameTicking.Commands
{
[AnyCommand]
class ToggleReadyCommand : IConsoleCommand
sealed class ToggleReadyCommand : IConsoleCommand
{
public string Command => "toggleready";
public string Description => "";