public override int GetHashCode() { int hash = Name.GetHashCode(); if (Icon != null) { hash ^= Icon.GetHashCode(); } hash ^= IsRepeatable.GetHashCode(); hash ^= RequiredLevel.GetHashCode(); hash ^= XpLevel.GetHashCode(); hash ^= Difficulty.GetHashCode(); hash ^= CanAbandon.GetHashCode(); hash ^= IsHidden.GetHashCode(); hash ^= IsClassQuest.GetHashCode(); hash ^= IsBonus.GetHashCode(); hash ^= BonusShareable.GetHashCode(); hash ^= Category.GetHashCode(); foreach (var x in Branches) { hash ^= x.GetHashCode(); } foreach (var x in Classes) { hash ^= x.Id.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = Title.GetHashCode(); hash ^= Text.GetHashCode(); hash ^= Level.GetHashCode(); if (Image != null) { hash ^= Image.GetHashCode(); } hash ^= CategoryId.GetHashCode(); hash ^= Faction.GetHashCode(); hash ^= IsHidden.GetHashCode(); if (ClassRestricted) { foreach (var x in Classes) { hash ^= x.Fqn.GetHashCode(); } } if (HasPlanets) { foreach (var x in Planets) { hash ^= x.Id.GetHashCode(); } } return(hash); }
public override int GetHashCode() { unchecked { int hashCode = (ColumnName != null ? ColumnName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Width.GetHashCode(); hashCode = (hashCode * 397) ^ IsHidden.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (Type.Length != 0) { hash ^= Type.GetHashCode(); } if (IsDimension != false) { hash ^= IsDimension.GetHashCode(); } if (IsHidden != false) { hash ^= IsHidden.GetHashCode(); } if (NextSiblingId.Length != 0) { hash ^= NextSiblingId.GetHashCode(); } if (ParentId.Length != 0) { hash ^= ParentId.GetHashCode(); } if (HeaderId.Length != 0) { hash ^= HeaderId.GetHashCode(); } if (format_ != null) { hash ^= Format.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Category != null ? Category.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Placements != null ? Placements.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Countries != null ? Countries.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsHidden.GetHashCode(); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ModeratorDescription != null ? ModeratorDescription.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)Applicability; return(hashCode); } }
public override int GetHashCode() { int hash = Level.GetHashCode(); if (Description != null) { hash ^= Description.GetHashCode(); } if (Name != null) { hash ^= Name.GetHashCode(); } if (Icon != null) { hash ^= Icon.GetHashCode(); } hash ^= IsHidden.GetHashCode(); hash ^= IsPassive.GetHashCode(); hash ^= Cooldown.GetHashCode(); hash ^= CastingTime.GetHashCode(); hash ^= ChannelingTime.GetHashCode(); hash ^= ForceCost.GetHashCode(); hash ^= EnergyCost.GetHashCode(); hash ^= ApCost.GetHashCode(); hash ^= ApType.GetHashCode(); hash ^= MinRange.GetHashCode(); hash ^= MaxRange.GetHashCode(); hash ^= GCD.GetHashCode(); hash ^= GcdOverride.GetHashCode(); if (AbilityTokens != null) { hash ^= AbilityTokens.GetHashCode(); } hash ^= TargetArc.GetHashCode(); hash ^= TargetArcOffset.GetHashCode(); hash ^= TargetRule.GetHashCode(); hash ^= LineOfSightCheck.GetHashCode(); hash ^= Pushback.GetHashCode(); hash ^= IgnoreAlacrity.GetHashCode(); return(hash); }