コード例 #1
0
 public bool Equals(LocalPeerData other)
 {
     return(other != null &&
            internalEndpoint.Equals(other.internalEndpoint) &&
            peerType == other.peerType &&
            peerName == other.peerName &&
            passwordProtected == other.passwordProtected &&
            comment == other.comment &&
            platform == other.platform);
 }
コード例 #2
0
 public bool Equals(LocalHostData other)
 {
     return(other != null &&
            internalEndpoint.Equals(other.internalEndpoint) &&
            gameType == other.gameType &&
            gameName == other.gameName &&
            gameMode == other.gameMode &&
            gameLevel == other.gameLevel &&
            connectedPlayers == other.connectedPlayers &&
            playerLimit == other.playerLimit &&
            passwordProtected == other.passwordProtected &&
            dedicatedServer == other.dedicatedServer &&
            useNat == other.useNat &&
            useProxy == other.useProxy &&
            comment == other.comment &&
            platform == other.platform);
 }
コード例 #3
0
 public bool Equals(NetworkPeer other)
 {
     return(endpoint.Equals(other.endpoint));
 }
 public bool Equals(HostData other)
 {
     return(other != null && externalEndpoint.Equals(other.externalEndpoint));
 }