Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -14,7 +14,7 @@ using Timer = Robust.Shared.Timing.Timer;
|
||||
namespace Content.Server.Mind.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public class MakeSentientCommand : IConsoleCommand
|
||||
public sealed class MakeSentientCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "makesentient";
|
||||
public string Description => "Makes an entity sentient (able to be controlled by a player)";
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Mind.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class MindInfoCommand : IConsoleCommand
|
||||
public sealed class MindInfoCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "mindinfo";
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.Server.Mind.Commands;
|
||||
|
||||
[AdminCommand(AdminFlags.VarEdit)]
|
||||
public class RenameCommand : IConsoleCommand
|
||||
public sealed class RenameCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "rename";
|
||||
public string Description => "Renames an entity and its cloner entries, ID cards, and PDAs.";
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Content.Server.Mind.Components
|
||||
/// Stores a <see cref="Server.Mind.Mind"/> on a mob.
|
||||
/// </summary>
|
||||
[RegisterComponent, Friend(typeof(MindSystem))]
|
||||
public class MindComponent : Component
|
||||
public sealed class MindComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The mind controlling this mob. Can be null.
|
||||
@@ -48,11 +48,11 @@ namespace Content.Server.Mind.Components
|
||||
public bool GhostOnShutdown { get; set; } = true;
|
||||
}
|
||||
|
||||
public class MindRemovedMessage : EntityEventArgs
|
||||
public sealed class MindRemovedMessage : EntityEventArgs
|
||||
{
|
||||
}
|
||||
|
||||
public class MindAddedMessage : EntityEventArgs
|
||||
public sealed class MindAddedMessage : EntityEventArgs
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.Server.Mind.Components
|
||||
}
|
||||
}
|
||||
|
||||
public class MindUnvisitedMessage : EntityEventArgs
|
||||
public sealed class MindUnvisitedMessage : EntityEventArgs
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.Server.Mind;
|
||||
|
||||
public class MindSystem : EntitySystem
|
||||
public sealed class MindSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IMapManager _mapManager = default!;
|
||||
[Dependency] private readonly GameTicker _gameTicker = default!;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Content.Server.Mind
|
||||
/// The Minds themselves contain metadata about their owners.
|
||||
/// Anyway, this is because disconnected people and ghost roles have been breaking round end statistics for way too long.
|
||||
/// </summary>
|
||||
public class MindTrackerSystem : EntitySystem
|
||||
public sealed class MindTrackerSystem : EntitySystem
|
||||
{
|
||||
[ViewVariables]
|
||||
public readonly HashSet<Mind> AllMinds = new();
|
||||
|
||||
Reference in New Issue
Block a user