Engine-Pong/Game/Network/INetworkServer.cs

11 lines
247 B
C#
Raw Normal View History

2024-02-02 12:20:25 +03:00
namespace Pong.Network;
public interface INetworkServer : INetworkCommunicator
{
string Password { get; }
int MaxConnectionCount { get; }
int Port { get; }
void Start(int port, int maxConnectionCount, string? password = null);
}