Files
tbd-station-14/Content.Server/Administration/Toolshed/MarkedCommand.cs
2025-01-03 18:45:02 +13:00

16 lines
434 B
C#

using Content.Shared.Administration;
using Robust.Shared.Toolshed;
namespace Content.Server.Administration.Toolshed;
[ToolshedCommand, AnyCommand]
public sealed class MarkedCommand : ToolshedCommand
{
[CommandImplementation]
public IEnumerable<EntityUid> Marked(IInvocationContext ctx)
{
var marked = ctx.ReadVar("marked") as IEnumerable<EntityUid>;
return marked ?? Array.Empty<EntityUid>();
}
}