Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (FlexibleStats?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ GameBaseVariantId.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (CoopStats?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (FlexibleStats?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ MissionId.GetHashCode();
         hashCode = (hashCode * 397) ^ (SoloStats?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }
Esempio n. 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode*397) ^ (FlexibleStats?.GetHashCode() ?? 0);
         hashCode = (hashCode*397) ^ GameBaseVariantId.GetHashCode();
         hashCode = (hashCode*397) ^ MapId.GetHashCode();
         hashCode = (hashCode*397) ^ TotalPiesEarned;
         return hashCode;
     }
 }
Esempio n. 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ AvgLifeTimeOfPlayer.GetHashCode();
         hashCode = (hashCode * 397) ^ DNF.GetHashCode();
         hashCode = (hashCode * 397) ^ (FlexibleStats?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Player?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (PostMatchRatings?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (PreMatchRatings?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ Rank;
         hashCode = (hashCode * 397) ^ TeamId;
         return(hashCode);
     }
 }