예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((RankedPlaylistStats?.GetHashCode() ?? 0) * 397) ^ SeasonId.GetHashCode());
     }
 }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FortressTemplateGmtId.Length != 0)
            {
                hash ^= FortressTemplateGmtId.GetHashCode();
            }
            if (OwningTeamId.Length != 0)
            {
                hash ^= OwningTeamId.GetHashCode();
            }
            if (ElectoralVotes != 0L)
            {
                hash ^= ElectoralVotes.GetHashCode();
            }
            if (SeasonId.Length != 0)
            {
                hash ^= SeasonId.GetHashCode();
            }
            if (RegionId.Length != 0)
            {
                hash ^= RegionId.GetHashCode();
            }
            if (WcActiveUntilMs != 0L)
            {
                hash ^= WcActiveUntilMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (SeasonId.Length != 0)
            {
                hash ^= SeasonId.GetHashCode();
            }
            if (RegionId.Length != 0)
            {
                hash ^= RegionId.GetHashCode();
            }
            if (scores_ != null)
            {
                hash ^= Scores.GetHashCode();
            }
            if (RegionName.Length != 0)
            {
                hash ^= RegionName.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 23;
         hash = hash * 37 + TeamId.GetHashCode();
         hash = hash * 37 + (Name != null ? Name.GetHashCode() : 0);
         hash = hash * 37 + (LeagueId != null ? LeagueId.GetHashCode() : 0);
         hash = hash * 37 + SeasonId.GetHashCode();
         hash = hash * 37 + (Score != null ? Score.GetHashCode() : 0);
         return(hash);
     }
 }
예제 #5
0
        // Generated by R#
        public override int GetHashCode()
        {
            var hashCode = 785467465;

            hashCode = hashCode * -1521134295 + FleetId.GetHashCode();
            hashCode = hashCode * -1521134295 + SeriesId.GetHashCode();
            hashCode = hashCode * -1521134295 + SeasonId.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <int?> .Default.GetHashCode(RaceNumber);

            hashCode = hashCode * -1521134295 + EqualityComparer <int?> .Default.GetHashCode(Place);

            return(hashCode);
        }
예제 #6
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 23;
         hash = hash * 37 + PlayDay.GetHashCode();
         hash = hash * 37 + GameId.GetHashCode();
         hash = hash * 37 + SeasonId.GetHashCode();
         hash = hash * 37 + Date.GetHashCode();
         hash = hash * 37 + (HomeTeam != null ? HomeTeam.GetHashCode() : 0);
         hash = hash * 37 + (AwayTeam != null ? AwayTeam.GetHashCode() : 0);
         hash = hash * 37 + (Arena != null ? Arena.GetHashCode() : 0);
         return(hash);
     }
 }
예제 #7
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = GameBaseVariantId.GetHashCode();
         hashCode = (hashCode * 397) ^ GameVariantId.GetHashCode();
         hashCode = (hashCode * 397) ^ IsMatchOver.GetHashCode();
         hashCode = (hashCode * 397) ^ IsTeamGame.GetHashCode();
         hashCode = (hashCode * 397) ^ MapId.GetHashCode();
         hashCode = (hashCode * 397) ^ MapVariantId.GetHashCode();
         hashCode = (hashCode * 397) ^ PlaylistId.GetHashCode();
         hashCode = (hashCode * 397) ^ SeasonId.GetHashCode();
         hashCode = (hashCode * 397) ^ TotalDuration.GetHashCode();
         return(hashCode);
     }
 }
예제 #8
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)GameMode;
         hashCode = (hashCode * 397) ^ IsMatchComplete.GetHashCode();
         hashCode = (hashCode * 397) ^ (MapId?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ MatchDuration.GetHashCode();
         hashCode = (hashCode * 397) ^ MatchEndReason.GetHashCode();
         hashCode = (hashCode * 397) ^ MatchId.GetHashCode();
         hashCode = (hashCode * 397) ^ (MatchStartDate != null ? MatchStartDate.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)MatchType;
         hashCode = (hashCode * 397) ^ (Players?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ PlaylistId.GetHashCode();
         hashCode = (hashCode * 397) ^ SeasonId.GetHashCode();
         hashCode = (hashCode * 397) ^ (Teams?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ VictoryCondition.GetHashCode();
         return(hashCode);
     }
 }
예제 #9
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = GameBaseVariantId.GetHashCode();
         hashCode = (hashCode * 397) ^ (GameVariant?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ HopperId.GetHashCode();
         hashCode = (hashCode * 397) ^ (Id?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ IsTeamGame.GetHashCode();
         hashCode = (hashCode * 397) ^ (Links?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ MapId.GetHashCode();
         hashCode = (hashCode * 397) ^ (MapVariant?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (MatchCompletedDate?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ MatchDuration.GetHashCode();
         hashCode = (hashCode * 397) ^ (Players?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ SeasonId.GetHashCode();
         hashCode = (hashCode * 397) ^ MatchCompletedDateFidelity;
         hashCode = (hashCode * 397) ^ (Teams?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }
예제 #10
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (ExperienceProgress != null ? ExperienceProgress.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)GameMode;
         hashCode = (hashCode * 397) ^ LeaderId;
         hashCode = (hashCode * 397) ^ (MapId?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ MatchId.GetHashCode();
         hashCode = (hashCode * 397) ^ (MatchStartDate != null ? MatchStartDate.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)MatchType;
         hashCode = (hashCode * 397) ^ PlayerCompletedMatch.GetHashCode();
         hashCode = (hashCode * 397) ^ PlayerIndex;
         hashCode = (hashCode * 397) ^ PlayerMatchDuration.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)PlayerMatchOutcome;
         hashCode = (hashCode * 397) ^ PlaylistId.GetHashCode();
         hashCode = (hashCode * 397) ^ (RatingProgress != null ? RatingProgress.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ SeasonId.GetHashCode();
         hashCode = (hashCode * 397) ^ TeamId;
         hashCode = (hashCode * 397) ^ TeamPlayerIndex;
         hashCode = (hashCode * 397) ^ (Teams?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }