изменения абстракции фронтенда
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user