* Telnet client header information is now successfully (finally) stripped out of the first stream received. * Command System underwent some optimizations along with now always returning a Boolean value once execution of a command is completed. * ICommand interface now forces all ICommand.Execute methods to return a Boolean value. * DataPaths class re-wrote and is now simi in-use by StandardGame and the Login command * Minor adjustments to how characters are initialized upon connection in various classes.
18 lines
409 B
C#
18 lines
409 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
using MudEngine.Game.Characters;
|
|
|
|
namespace MudEngine.Core.Interface
|
|
{
|
|
public interface ICommand
|
|
{
|
|
string Name { get; set; }
|
|
string Description { get; set; }
|
|
List<string> Help { get; set; }
|
|
|
|
Boolean Execute(string command, StandardCharacter character);
|
|
}
|
|
}
|