19 lines
453 B
C#
19 lines
453 B
C#
![]() |
using System.Net.Sockets;
|
|||
|
|
|||
|
namespace Galactic_Colors_Control_Server.Commands
|
|||
|
{
|
|||
|
public interface ICommand
|
|||
|
{
|
|||
|
string Name { get; }
|
|||
|
string DescText { get; }
|
|||
|
string HelpText { get; }
|
|||
|
bool IsServer { get; }
|
|||
|
bool IsClient { get; }
|
|||
|
bool IsNoConnect { get; }
|
|||
|
int minArgs { get; }
|
|||
|
int maxArgs { get; }
|
|||
|
|
|||
|
void Execute(string[] args, Socket soc = null, bool server = false);
|
|||
|
}
|
|||
|
}
|