public ClientLogic(string name, int[] ports = null, ServerClient sClient = null, ILogger logger = null)
        {
            this.logger = logger;
            if (sClient != null)
            {
                LobbyNetwork = new LobbyClientNetworking(sClient, logger: logger);
            }
            LANNetwork = new LANNetworking(name, logger);

            if (ports != null)
            {
                LANPorts = ports;
            }

            LANNetwork.broadcastPorts = LANPorts;
        }
 public ClientLogic(ILogger logger = null)
 {
     this.logger   = logger;
     clientNetwork = new ClientNetworking(logger: logger);
     LANNetwork    = new LANNetworking(logger: logger);
 }