2019-12-13 20:42:55 -08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2019-12-15 16:35:59 -08:00
|
|
|
|
|
2019-12-13 20:42:55 -08:00
|
|
|
|
using Svelto.ECS;
|
|
|
|
|
|
2019-12-15 16:35:59 -08:00
|
|
|
|
using GamecraftModdingAPI.Utility;
|
2020-05-11 20:28:26 -04:00
|
|
|
|
using GamecraftModdingAPI.Engines;
|
2019-12-15 16:35:59 -08:00
|
|
|
|
|
2019-12-13 20:42:55 -08:00
|
|
|
|
namespace GamecraftModdingAPI.Commands
|
|
|
|
|
{
|
2019-12-14 23:20:20 -08:00
|
|
|
|
/// <summary>
|
2020-05-13 16:52:06 -04:00
|
|
|
|
/// Engine interface to handle command operations.
|
|
|
|
|
/// If you are using implementing this yourself, you must manually register the command.
|
|
|
|
|
/// See SimpleCustomCommandEngine's Ready() and Dispose() methods for an example of command registration.
|
2019-12-14 23:20:20 -08:00
|
|
|
|
/// </summary>
|
2019-12-25 14:25:53 -05:00
|
|
|
|
public interface ICustomCommandEngine : IApiEngine
|
2019-12-13 20:42:55 -08:00
|
|
|
|
{
|
2019-12-14 23:20:20 -08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The command's description, shown in command help messages
|
|
|
|
|
/// </summary>
|
2019-12-13 20:42:55 -08:00
|
|
|
|
string Description { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|