Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -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.";
|
||||
|
||||
@@ -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.";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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.";
|
||||
|
||||
@@ -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.";
|
||||
|
||||
@@ -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!;
|
||||
|
||||
|
||||
@@ -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!;
|
||||
|
||||
|
||||
@@ -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 => "";
|
||||
|
||||
@@ -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.";
|
||||
|
||||
@@ -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.";
|
||||
|
||||
@@ -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 => "";
|
||||
|
||||
@@ -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.";
|
||||
|
||||
@@ -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.";
|
||||
|
||||
@@ -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 => "";
|
||||
|
||||
Reference in New Issue
Block a user