diff --git a/mROA/Class1.cs b/mROA/Class1.cs deleted file mode 100644 index 3319e4b..0000000 --- a/mROA/Class1.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace mROA; - -public class Class1 -{ -} \ No newline at end of file diff --git a/mROA/ICommandExecution.cs b/mROA/ICommandExecution.cs new file mode 100644 index 0000000..6b626e1 --- /dev/null +++ b/mROA/ICommandExecution.cs @@ -0,0 +1,11 @@ +namespace mROA; + +public interface ICommandExecution +{ + int ExecutionId { get; set; } + + int ClientId { get; set; } + int CommandId { get; set; } + + void Cancel(); +} \ No newline at end of file diff --git a/mROA/IExecuteModule.cs b/mROA/IExecuteModule.cs new file mode 100644 index 0000000..98f483f --- /dev/null +++ b/mROA/IExecuteModule.cs @@ -0,0 +1,6 @@ +namespace mROA; + +public interface IExecuteModule +{ + void Execute(int objectId, int commandId, object parameter); +} \ No newline at end of file diff --git a/mROA/IInputModule.cs b/mROA/IInputModule.cs new file mode 100644 index 0000000..b6626fd --- /dev/null +++ b/mROA/IInputModule.cs @@ -0,0 +1,7 @@ +namespace mROA; + +public interface IInputModule +{ + void AddIncomingRequestHandler(Action handler); + void SendResponse(ICommandExecution call, object response); +} \ No newline at end of file diff --git a/mROA/IInteractionModule.cs b/mROA/IInteractionModule.cs new file mode 100644 index 0000000..ad2c005 --- /dev/null +++ b/mROA/IInteractionModule.cs @@ -0,0 +1,6 @@ +namespace mROA; + +public interface IInteractionModule +{ + void SendTo(int clientId, byte[] message); +} \ No newline at end of file