2024-02-09 10:00:36 +03:00
|
|
|
using Syntriax.Engine.Network.Abstract;
|
|
|
|
|
|
|
|
namespace Syntriax.Engine.Network;
|
2024-02-01 23:38:35 +03:00
|
|
|
|
2024-02-02 12:42:59 +03:00
|
|
|
public class NetworkClient : NetworkBase, INetworkClient
|
2024-02-01 23:38:35 +03:00
|
|
|
{
|
|
|
|
public void Connect(string address, int port, string? password = null)
|
2024-02-02 12:27:34 +03:00
|
|
|
{
|
|
|
|
Manager.Start();
|
|
|
|
Manager.Connect(address, port, password ?? string.Empty);
|
|
|
|
}
|
2024-02-01 23:38:35 +03:00
|
|
|
}
|