refactor: moved client and server interfaces into their files

This commit is contained in:
2025-08-31 23:09:02 +03:00
parent 8e314f3269
commit 6d159330a1
4 changed files with 22 additions and 19 deletions

View File

@@ -0,0 +1,8 @@
namespace Engine.Systems.Network;
public interface INetworkCommunicatorClient : INetworkCommunicator
{
INetworkCommunicatorClient Connect(string address, int port, string? password = null);
INetworkCommunicatorClient SendToServer<T>(T packet, PacketDelivery packetDelivery = PacketDelivery.ReliableInOrder) where T : class, new();
}