концепт и интерфейсах

This commit is contained in:
2025-01-11 15:55:46 +03:00
parent e5d384f455
commit 7b60a07039
5 changed files with 30 additions and 5 deletions
-5
View File
@@ -1,5 +0,0 @@
namespace mROA;
public class Class1
{
}
+11
View File
@@ -0,0 +1,11 @@
namespace mROA;
public interface ICommandExecution
{
int ExecutionId { get; set; }
int ClientId { get; set; }
int CommandId { get; set; }
void Cancel();
}
+6
View File
@@ -0,0 +1,6 @@
namespace mROA;
public interface IExecuteModule
{
void Execute(int objectId, int commandId, object parameter);
}
+7
View File
@@ -0,0 +1,7 @@
namespace mROA;
public interface IInputModule
{
void AddIncomingRequestHandler(Action<object> handler);
void SendResponse(ICommandExecution call, object response);
}
+6
View File
@@ -0,0 +1,6 @@
namespace mROA;
public interface IInteractionModule
{
void SendTo(int clientId, byte[] message);
}