Пример #1
0
        public bool Equals(DestinyTalentExclusiveGroup input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     GroupHash == input.GroupHash ||
                     (GroupHash.Equals(input.GroupHash))
                     ) &&
                 (
                     LoreHash == input.LoreHash ||
                     (LoreHash.Equals(input.LoreHash))
                 ) &&
                 (
                     NodeHashes == input.NodeHashes ||
                     (NodeHashes != null && NodeHashes.SequenceEqual(input.NodeHashes))
                 ) &&
                 (
                     OpposingGroupHashes == input.OpposingGroupHashes ||
                     (OpposingGroupHashes != null && OpposingGroupHashes.SequenceEqual(input.OpposingGroupHashes))
                 ) &&
                 (
                     OpposingNodeHashes == input.OpposingNodeHashes ||
                     (OpposingNodeHashes != null && OpposingNodeHashes.SequenceEqual(input.OpposingNodeHashes))
                 ));
        }
        public bool Equals(DestinyTalentNodeDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     NodeIndex == input.NodeIndex ||
                     (NodeIndex.Equals(input.NodeIndex))
                     ) &&
                 (
                     NodeHash == input.NodeHash ||
                     (NodeHash.Equals(input.NodeHash))
                 ) &&
                 (
                     Row == input.Row ||
                     (Row.Equals(input.Row))
                 ) &&
                 (
                     Column == input.Column ||
                     (Column.Equals(input.Column))
                 ) &&
                 (
                     PrerequisiteNodeIndexes == input.PrerequisiteNodeIndexes ||
                     (PrerequisiteNodeIndexes != null && PrerequisiteNodeIndexes.SequenceEqual(input.PrerequisiteNodeIndexes))
                 ) &&
                 (
                     BinaryPairNodeIndex == input.BinaryPairNodeIndex ||
                     (BinaryPairNodeIndex.Equals(input.BinaryPairNodeIndex))
                 ) &&
                 (
                     AutoUnlocks == input.AutoUnlocks ||
                     (AutoUnlocks != null && AutoUnlocks.Equals(input.AutoUnlocks))
                 ) &&
                 (
                     LastStepRepeats == input.LastStepRepeats ||
                     (LastStepRepeats != null && LastStepRepeats.Equals(input.LastStepRepeats))
                 ) &&
                 (
                     IsRandom == input.IsRandom ||
                     (IsRandom != null && IsRandom.Equals(input.IsRandom))
                 ) &&
                 (
                     RandomActivationRequirement == input.RandomActivationRequirement ||
                     (RandomActivationRequirement != null && RandomActivationRequirement.Equals(input.RandomActivationRequirement))
                 ) &&
                 (
                     IsRandomRepurchasable == input.IsRandomRepurchasable ||
                     (IsRandomRepurchasable != null && IsRandomRepurchasable.Equals(input.IsRandomRepurchasable))
                 ) &&
                 (
                     Steps == input.Steps ||
                     (Steps != null && Steps.SequenceEqual(input.Steps))
                 ) &&
                 (
                     ExclusiveWithNodeHashes == input.ExclusiveWithNodeHashes ||
                     (ExclusiveWithNodeHashes != null && ExclusiveWithNodeHashes.SequenceEqual(input.ExclusiveWithNodeHashes))
                 ) &&
                 (
                     RandomStartProgressionBarAtProgression == input.RandomStartProgressionBarAtProgression ||
                     (RandomStartProgressionBarAtProgression.Equals(input.RandomStartProgressionBarAtProgression))
                 ) &&
                 (
                     LayoutIdentifier == input.LayoutIdentifier ||
                     (LayoutIdentifier != null && LayoutIdentifier.Equals(input.LayoutIdentifier))
                 ) &&
                 (
                     GroupHash == input.GroupHash ||
                     (GroupHash.Equals(input.GroupHash))
                 ) &&
                 (
                     LoreHash == input.LoreHash ||
                     (LoreHash.Equals(input.LoreHash))
                 ) &&
                 (
                     NodeStyleIdentifier == input.NodeStyleIdentifier ||
                     (NodeStyleIdentifier != null && NodeStyleIdentifier.Equals(input.NodeStyleIdentifier))
                 ) &&
                 (
                     IgnoreForCompletion == input.IgnoreForCompletion ||
                     (IgnoreForCompletion != null && IgnoreForCompletion.Equals(input.IgnoreForCompletion))
                 ));
        }