public bool Equals(DestinyTalentGridDefinition input) { if (input == null) { return(false); } return (( MaxGridLevel == input.MaxGridLevel || (MaxGridLevel.Equals(input.MaxGridLevel)) ) && ( GridLevelPerColumn == input.GridLevelPerColumn || (GridLevelPerColumn.Equals(input.GridLevelPerColumn)) ) && ( ProgressionHash == input.ProgressionHash || (ProgressionHash.Equals(input.ProgressionHash)) ) && ( Nodes == input.Nodes || (Nodes != null && Nodes.SequenceEqual(input.Nodes)) ) && ( ExclusiveSets == input.ExclusiveSets || (ExclusiveSets != null && ExclusiveSets.SequenceEqual(input.ExclusiveSets)) ) && ( IndependentNodeIndexes == input.IndependentNodeIndexes || (IndependentNodeIndexes != null && IndependentNodeIndexes.SequenceEqual(input.IndependentNodeIndexes)) ) && ( Groups == input.Groups || (Groups != null && Groups.SequenceEqual(input.Groups)) ) && ( NodeCategories == input.NodeCategories || (NodeCategories != null && NodeCategories.SequenceEqual(input.NodeCategories)) ) && ( Hash == input.Hash || (Hash.Equals(input.Hash)) ) && ( Index == input.Index || (Index.Equals(input.Index)) ) && ( Redacted == input.Redacted || (Redacted != null && Redacted.Equals(input.Redacted)) )); }
public bool DeepEquals(DestinyTalentGridDefinition other) { return(other != null && ExclusiveSets.DeepEqualsReadOnlyCollections(other.ExclusiveSets) && CalcMaxGridLevel == other.CalcMaxGridLevel && CalcProgressToMaxLevel == other.CalcProgressToMaxLevel && GridLevelPerColumn == other.GridLevelPerColumn && Groups.DeepEqualsReadOnlyDictionaryWithSimpleKeyAndEquatableValue(other.Groups) && IndependentNodeIndexes.DeepEqualsReadOnlySimpleCollection(other.IndependentNodeIndexes) && MaxGridLevel == other.MaxGridLevel && MaximumRandomMaterialRequirements == other.MaximumRandomMaterialRequirements && NodeCategories.DeepEqualsReadOnlyCollections(other.NodeCategories) && Nodes.DeepEqualsReadOnlyCollections(other.Nodes) && Progression.DeepEquals(other.Progression) && Blacklisted == other.Blacklisted && Hash == other.Hash && Index == other.Index && Redacted == other.Redacted); }