изменения абстракции фронтенда

This commit is contained in:
2025-01-25 20:42:21 +03:00
parent 27259d0079
commit 66c78b158f
7 changed files with 31 additions and 32 deletions
+6 -1
View File
@@ -2,6 +2,11 @@ namespace mROA;
public interface IInteractionModule
{
void SetMessageHandler(Action<int, string> handler);
void SetMessageHandler(Action<int, byte[]> handler);
void SendTo(int clientId, byte[] message);
public interface IFrontendInteractionModule
{
public byte[] ReceiveMessage();
public void PostMessage(byte[] message);
}
}