modernuo/Projects/UOContent/Commands/Generic/Implementors/ScreenCommandImplementor.cs

24 lines
815 B
C#
Raw Permalink Normal View History

2020-08-27 18:30:38 -07:00
namespace Server.Commands.Generic
{
public class ScreenCommandImplementor : BaseCommandImplementor
{
public ScreenCommandImplementor()
{
Accessors = new[] { "Screen" };
SupportRequirement = CommandSupport.Area;
SupportsConditionals = true;
AccessLevel = AccessLevel.GameMaster;
Usage = "Screen <command> [condition]";
Description =
"Invokes the command on all appropriate objects in your screen. Optional condition arguments can further restrict the set of objects.";
}
public override void Process(Mobile from, BaseCommand command, string[] args)
{
var impl = RangeCommandImplementor.Instance;
impl?.Process(18, from, command, args);
}
}
}