public bool Equals(ServerKey other) => (IpAddress == other.IpAddress) && (Port == other.Port);
 public ArmaServerInfo(int index, ServerKey key) : base(key.ToIpEndpoint()) {
     Index = index;
     Key = key;
 }
 public ArmaServer(int index, ServerKey key, ServerInfoRulesFetcher fetcher)
     : this(new ArmaServerInfo(index, key), fetcher) {}
 public ArmaServerInfo(int index, ServerKey key) : base(key.ToIpEndpoint())
 {
     Index = index;
     Key   = key;
 }
 public ArmaServer(int index, ServerKey key, ServerInfoRulesFetcher fetcher)
     : this(new ArmaServerInfo(index, key), fetcher)
 {
 }
Exemple #6
0
 public bool Equals(ServerKey other) => (IpAddress == other.IpAddress) && (Port == other.Port);