16 lines
434 B
C#
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>();
|
|
}
|
|
}
|