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

            return
                ((
                     ScreenStyle == input.ScreenStyle ||
                     (ScreenStyle != null && ScreenStyle.Equals(input.ScreenStyle))
                     ) &&
                 (
                     PreviewVendorHash == input.PreviewVendorHash ||
                     (PreviewVendorHash.Equals(input.PreviewVendorHash))
                 ) &&
                 (
                     ArtifactHash == input.ArtifactHash ||
                     (ArtifactHash.Equals(input.ArtifactHash))
                 ) &&
                 (
                     PreviewActionString == input.PreviewActionString ||
                     (PreviewActionString != null && PreviewActionString.Equals(input.PreviewActionString))
                 ) &&
                 (
                     DerivedItemCategories == input.DerivedItemCategories ||
                     (DerivedItemCategories != null && DerivedItemCategories.SequenceEqual(input.DerivedItemCategories))
                 ));
        }
Example #2
0
        public bool Equals(DestinyArtifactCharacterScoped input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ArtifactHash == input.ArtifactHash ||
                     (ArtifactHash.Equals(input.ArtifactHash))
                     ) &&
                 (
                     PointsUsed == input.PointsUsed ||
                     (PointsUsed.Equals(input.PointsUsed))
                 ) &&
                 (
                     ResetCount == input.ResetCount ||
                     (ResetCount.Equals(input.ResetCount))
                 ) &&
                 (
                     Tiers == input.Tiers ||
                     (Tiers != null && Tiers.SequenceEqual(input.Tiers))
                 ));
        }
        public bool Equals(DestinyArtifactProfileScoped input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ArtifactHash == input.ArtifactHash ||
                     (ArtifactHash.Equals(input.ArtifactHash))
                     ) &&
                 (
                     PointProgression == input.PointProgression ||
                     (PointProgression != null && PointProgression.Equals(input.PointProgression))
                 ) &&
                 (
                     PointsAcquired == input.PointsAcquired ||
                     (PointsAcquired.Equals(input.PointsAcquired))
                 ) &&
                 (
                     PowerBonusProgression == input.PowerBonusProgression ||
                     (PowerBonusProgression != null && PowerBonusProgression.Equals(input.PowerBonusProgression))
                 ) &&
                 (
                     PowerBonus == input.PowerBonus ||
                     (PowerBonus.Equals(input.PowerBonus))
                 ));
        }