2019-12-14 04:42:55 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2019-12-16 00:35:59 +00:00
|
|
|
|
|
2019-12-14 04:42:55 +00:00
|
|
|
|
using Svelto.ECS;
|
|
|
|
|
|
2019-12-16 00:35:59 +00:00
|
|
|
|
using GamecraftModdingAPI.Utility;
|
2020-05-12 00:28:26 +00:00
|
|
|
|
using GamecraftModdingAPI.Engines;
|
2019-12-16 00:35:59 +00:00
|
|
|
|
|
2019-12-14 04:42:55 +00:00
|
|
|
|
namespace GamecraftModdingAPI.Commands
|
|
|
|
|
{
|
2019-12-15 07:20:20 +00:00
|
|
|
|
/// <summary>
|
2020-05-13 20:52:06 +00: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-15 07:20:20 +00:00
|
|
|
|
/// </summary>
|
2019-12-25 19:25:53 +00:00
|
|
|
|
public interface ICustomCommandEngine : IApiEngine
|
2019-12-14 04:42:55 +00:00
|
|
|
|
{
|
2019-12-15 07:20:20 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The command's description, shown in command help messages
|
|
|
|
|
/// </summary>
|
2019-12-14 04:42:55 +00:00
|
|
|
|
string Description { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|