mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
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>();
|
|
}
|
|
}
|