Exemple #1
0
 public Server(string ipAddress, int port)
 {
     _ipAddress   = ipAddress;
     _port        = port;
     _queryClient = new ServerQueryClient(this, ipAddress, port);
     Settings     = new SortedDictionary <string, string>();
     Players      = new ObservableCollection <Player>();
     Info         = new ServerInfo(null, null);
 }
Exemple #2
0
 public Server(string ipAddress, int port)
 {
     _ipAddress = ipAddress;
     _port = port;
     _queryClient = new ServerQueryClient(this, ipAddress, port);
     Settings = new SortedDictionary<string, string>();
     Players = new ObservableCollection<Player>();
     Info = new ServerInfo(null, null);
 }