1
0
Fork 0
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.
Galactic_Colors_Control/Galactic Colors Control Server/Commands/ICommand.cs

21 lines
587 B
C#
Raw Normal View History

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; }
RequestResult Execute(string[] args, Socket soc = null, bool server = false);
2016-10-09 12:27:08 +00:00
}
}