public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (Csr?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (HighestCsr?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ MeasurementMatchesLeft;
         hashCode = (hashCode * 397) ^ PlaylistId.GetHashCode();
         return(hashCode);
     }
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = HighestCsr?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ HighestWaveCompleted;
         hashCode = (hashCode * 397) ^ (LeaderStats?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ PlaylistClassification.GetHashCode();
         hashCode = (hashCode * 397) ^ PlaylistId.GetHashCode();
         hashCode = (hashCode * 397) ^ TotalCardPlays;
         hashCode = (hashCode * 397) ^ TotalMatchesCompleted;
         hashCode = (hashCode * 397) ^ TotalMatchesLost;
         hashCode = (hashCode * 397) ^ TotalMatchesStarted;
         hashCode = (hashCode * 397) ^ TotalMatchesWon;
         hashCode = (hashCode * 397) ^ TotalPointCaptures;
         hashCode = (hashCode * 397) ^ TotalTimePlayed.GetHashCode();
         hashCode = (hashCode * 397) ^ TotalUnitsBuilt;
         hashCode = (hashCode * 397) ^ TotalUnitsDestroyed;
         hashCode = (hashCode * 397) ^ TotalUnitsLost;
         return(hashCode);
     }
 }