public override int GetHashCode() { int hash = 1; if (Id != 0) { hash ^= Id.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } hash ^= privilege_.GetHashCode(); hash ^= assignableRole_.GetHashCode(); if (Required != false) { hash ^= Required.GetHashCode(); } if (Unique != false) { hash ^= Unique.GetHashCode(); } if (RelegationRole != 0) { hash ^= RelegationRole.GetHashCode(); } hash ^= attribute_.GetHashCode(); hash ^= kickableRole_.GetHashCode(); hash ^= removableRole_.GetHashCode(); return(hash); }
public override int GetHashCode() { var hashCode = 1745360142; hashCode = hashCode * -1521134295 + Index.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ShortName); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Description); hashCode = hashCode * -1521134295 + TypeId.GetHashCode(); hashCode = hashCode * -1521134295 + SubTypeId.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <int[]> .Default.GetHashCode(ClassIds); hashCode = hashCode * -1521134295 + EnhancementSetId.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(EnhancementSetName); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Image); hashCode = hashCode * -1521134295 + EffectChance.GetHashCode(); hashCode = hashCode * -1521134295 + LevelMin.GetHashCode(); hashCode = hashCode * -1521134295 + LevelMax.GetHashCode(); hashCode = hashCode * -1521134295 + Unique.GetHashCode(); hashCode = hashCode * -1521134295 + MutuallyExclusiveId.GetHashCode(); hashCode = hashCode * -1521134295 + BuffMode.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <EnhancementEffect[]> .Default.GetHashCode(Effects); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(UniqueIdentifier); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Recipe); hashCode = hashCode * -1521134295 + Superior.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int hash = 1; if (HasName) { hash ^= Name.GetHashCode(); } hash ^= assignableRole_.GetHashCode(); if (HasRequired) { hash ^= Required.GetHashCode(); } if (HasUnique) { hash ^= Unique.GetHashCode(); } if (HasRelegationRole) { hash ^= RelegationRole.GetHashCode(); } hash ^= kickableRole_.GetHashCode(); hash ^= removableRole_.GetHashCode(); hash ^= mentionableRole_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { var result = (Columns != null ? Columns.GetHashCode() : 0); result = 29 * result + Clustered.GetHashCode(); result = 29 * result + NullAllowances.GetHashCode(); result = 29 * result + PrimaryKey.GetHashCode(); result = 29 * result + Unique.GetHashCode(); return(result); }
public override int GetHashCode() { return(Unique.GetHashCode()); }