Beispiel #1
0
        public bool Equals(DestinyPresentationNodeChildrenBlock input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     PresentationNodes == input.PresentationNodes ||
                     (PresentationNodes != null && PresentationNodes.SequenceEqual(input.PresentationNodes))
                     ) &&
                 (
                     Collectibles == input.Collectibles ||
                     (Collectibles != null && Collectibles.SequenceEqual(input.Collectibles))
                 ) &&
                 (
                     Records == input.Records ||
                     (Records != null && Records.SequenceEqual(input.Records))
                 ) &&
                 (
                     Metrics == input.Metrics ||
                     (Metrics != null && Metrics.SequenceEqual(input.Metrics))
                 ));
        }
        public bool Equals(DestinyProfileCollectiblesComponent input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     RecentCollectibleHashes == input.RecentCollectibleHashes ||
                     (RecentCollectibleHashes != null && RecentCollectibleHashes.SequenceEqual(input.RecentCollectibleHashes))
                     ) &&
                 (
                     NewnessFlaggedCollectibleHashes == input.NewnessFlaggedCollectibleHashes ||
                     (NewnessFlaggedCollectibleHashes != null && NewnessFlaggedCollectibleHashes.SequenceEqual(input.NewnessFlaggedCollectibleHashes))
                 ) &&
                 (
                     Collectibles == input.Collectibles ||
                     (Collectibles != null && Collectibles.SequenceEqual(input.Collectibles))
                 ) &&
                 (
                     CollectionCategoriesRootNodeHash == input.CollectionCategoriesRootNodeHash ||
                     (CollectionCategoriesRootNodeHash.Equals(input.CollectionCategoriesRootNodeHash))
                 ) &&
                 (
                     CollectionBadgesRootNodeHash == input.CollectionBadgesRootNodeHash ||
                     (CollectionBadgesRootNodeHash.Equals(input.CollectionBadgesRootNodeHash))
                 ));
        }
        public bool Equals(DestinyCollectiblesComponent input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Collectibles == input.Collectibles ||
                     (Collectibles != null && Collectibles.SequenceEqual(input.Collectibles))
                     ) &&
                 (
                     CollectionCategoriesRootNodeHash == input.CollectionCategoriesRootNodeHash ||
                     (CollectionCategoriesRootNodeHash.Equals(input.CollectionCategoriesRootNodeHash))
                 ) &&
                 (
                     CollectionBadgesRootNodeHash == input.CollectionBadgesRootNodeHash ||
                     (CollectionBadgesRootNodeHash.Equals(input.CollectionBadgesRootNodeHash))
                 ));
        }