This repository has been archived on 2019-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2016-11-12 11:33:10 +00:00
|
|
|
|
using Galactic_Colors_Control_Common.Protocol;
|
|
|
|
|
using System.Net.Sockets;
|
2016-10-09 12:27:08 +00:00
|
|
|
|
|
|
|
|
|
namespace Galactic_Colors_Control_Server.Commands
|
|
|
|
|
{
|
|
|
|
|
public interface ICommand
|
|
|
|
|
{
|
|
|
|
|
string Name { get; }
|
|
|
|
|
string DescText { get; }
|
|
|
|
|
string HelpText { get; }
|
2016-11-03 20:01:16 +00:00
|
|
|
|
Manager.CommandGroup Group { get; }
|
2016-10-09 12:27:08 +00:00
|
|
|
|
bool IsServer { get; }
|
|
|
|
|
bool IsClient { get; }
|
2016-10-11 10:09:51 +00:00
|
|
|
|
bool IsClientSide { get; }
|
2016-10-09 12:27:08 +00:00
|
|
|
|
bool IsNoConnect { get; }
|
|
|
|
|
int minArgs { get; }
|
|
|
|
|
int maxArgs { get; }
|
|
|
|
|
|
2016-11-12 11:33:10 +00:00
|
|
|
|
RequestResult Execute(string[] args, Socket soc = null, bool server = false);
|
2016-10-09 12:27:08 +00:00
|
|
|
|
}
|
2016-11-12 11:33:10 +00:00
|
|
|
|
}
|