MudEngine:

- Removed the need for the old CommandResult Type to be a returned value on all commands. Command.Execute() is now just void.
 - All commands updated to now return a value. They use player.Send() to direct messages to the player instead.
 - Removed CommandClear from the project and made it a script so that developers can see how to write custom command scripts.
This commit is contained in:
Scionwest_cp 2010-08-15 13:06:51 -07:00
parent 9792bfcd32
commit bbd411fdd1
14 changed files with 35 additions and 77 deletions

View file

@ -0,0 +1,10 @@
public class CommandClear : IGameCommand
{
public Boolean Override { get; set; }
public String Name { get; set; }
public void Execute(String command, BaseCharacter player)
{
player.FlushConsole();
}
}