Engine-Pong/Game/Network/Abstract/INetworkServer.cs

11 lines
267 B
C#
Raw Permalink Normal View History

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