17 lines
468 B
C#
17 lines
468 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([CommandInvocationContext] IInvocationContext ctx)
|
|||
|
|
{
|
|||
|
|
var res = (IEnumerable<EntityUid>?)ctx.ReadVar("marked");
|
|||
|
|
res ??= Array.Empty<EntityUid>();
|
|||
|
|
return res;
|
|||
|
|
}
|
|||
|
|
}
|