using System; using Robust.Shared.Toolshed.Syntax; namespace Robust.Shared.Toolshed.Commands.Generic; [ToolshedCommand] internal sealed class ValCommand : ToolshedCommand { public override Type[] TypeParameterParsers => new[] {typeof(Type)}; [CommandImplementation] public T Val( [CommandInvocationContext] IInvocationContext ctx, [CommandArgument] ValueRef value ) => value.Evaluate(ctx)!; }