public bool Equals(DestinyProfileTransitoryTrackingEntry input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     LocationHash == input.LocationHash ||
                     (LocationHash.Equals(input.LocationHash))
                     ) &&
                 (
                     ItemHash == input.ItemHash ||
                     (ItemHash.Equals(input.ItemHash))
                 ) &&
                 (
                     ObjectiveHash == input.ObjectiveHash ||
                     (ObjectiveHash.Equals(input.ObjectiveHash))
                 ) &&
                 (
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                 ) &&
                 (
                     QuestlineItemHash == input.QuestlineItemHash ||
                     (QuestlineItemHash.Equals(input.QuestlineItemHash))
                 ) &&
                 (
                     TrackedDate == input.TrackedDate ||
                     (TrackedDate != null && TrackedDate.Equals(input.TrackedDate))
                 ));
        }
Exemplo n.º 2
0
        public bool Equals(DestinyEnvironmentLocationMapping input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     LocationHash == input.LocationHash ||
                     (LocationHash.Equals(input.LocationHash))
                     ) &&
                 (
                     ActivationSource == input.ActivationSource ||
                     (ActivationSource != null && ActivationSource.Equals(input.ActivationSource))
                 ) &&
                 (
                     ItemHash == input.ItemHash ||
                     (ItemHash.Equals(input.ItemHash))
                 ) &&
                 (
                     ObjectiveHash == input.ObjectiveHash ||
                     (ObjectiveHash.Equals(input.ObjectiveHash))
                 ) &&
                 (
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                 ));
        }
        public bool Equals(DestinyActivityChallengeDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ObjectiveHash == input.ObjectiveHash ||
                     (ObjectiveHash.Equals(input.ObjectiveHash))
                     ) &&
                 (
                     DummyRewards == input.DummyRewards ||
                     (DummyRewards != null && DummyRewards.SequenceEqual(input.DummyRewards))
                 ));
        }
Exemplo n.º 4
0
        public bool Equals(DestinyPublicMilestoneChallenge input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ObjectiveHash == input.ObjectiveHash ||
                     (ObjectiveHash.Equals(input.ObjectiveHash))
                     ) &&
                 (
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                 ));
        }
Exemplo n.º 5
0
        public bool Equals(DestinyObjectiveProgress input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ObjectiveHash == input.ObjectiveHash ||
                     (ObjectiveHash.Equals(input.ObjectiveHash))
                     ) &&
                 (
                     DestinationHash == input.DestinationHash ||
                     (DestinationHash.Equals(input.DestinationHash))
                 ) &&
                 (
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                 ) &&
                 (
                     Progress == input.Progress ||
                     (Progress.Equals(input.Progress))
                 ) &&
                 (
                     CompletionValue == input.CompletionValue ||
                     (CompletionValue.Equals(input.CompletionValue))
                 ) &&
                 (
                     Complete == input.Complete ||
                     (Complete != null && Complete.Equals(input.Complete))
                 ) &&
                 (
                     Visible == input.Visible ||
                     (Visible != null && Visible.Equals(input.Visible))
                 ));
        }
Exemplo n.º 6
0
        public bool Equals(DestinyPresentationNodeDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                     ) &&
                 (
                     OriginalIcon == input.OriginalIcon ||
                     (OriginalIcon != null && OriginalIcon.Equals(input.OriginalIcon))
                 ) &&
                 (
                     RootViewIcon == input.RootViewIcon ||
                     (RootViewIcon != null && RootViewIcon.Equals(input.RootViewIcon))
                 ) &&
                 (
                     NodeType == input.NodeType ||
                     (NodeType != null && NodeType.Equals(input.NodeType))
                 ) &&
                 (
                     Scope == input.Scope ||
                     (Scope != null && Scope.Equals(input.Scope))
                 ) &&
                 (
                     ObjectiveHash == input.ObjectiveHash ||
                     (ObjectiveHash.Equals(input.ObjectiveHash))
                 ) &&
                 (
                     CompletionRecordHash == input.CompletionRecordHash ||
                     (CompletionRecordHash.Equals(input.CompletionRecordHash))
                 ) &&
                 (
                     Children == input.Children ||
                     (Children != null && Children.Equals(input.Children))
                 ) &&
                 (
                     DisplayStyle == input.DisplayStyle ||
                     (DisplayStyle != null && DisplayStyle.Equals(input.DisplayStyle))
                 ) &&
                 (
                     ScreenStyle == input.ScreenStyle ||
                     (ScreenStyle != null && ScreenStyle.Equals(input.ScreenStyle))
                 ) &&
                 (
                     Requirements == input.Requirements ||
                     (Requirements != null && Requirements.Equals(input.Requirements))
                 ) &&
                 (
                     DisableChildSubscreenNavigation == input.DisableChildSubscreenNavigation ||
                     (DisableChildSubscreenNavigation != null && DisableChildSubscreenNavigation.Equals(input.DisableChildSubscreenNavigation))
                 ) &&
                 (
                     MaxCategoryRecordScore == input.MaxCategoryRecordScore ||
                     (MaxCategoryRecordScore.Equals(input.MaxCategoryRecordScore))
                 ) &&
                 (
                     PresentationNodeType == input.PresentationNodeType ||
                     (PresentationNodeType != null && PresentationNodeType.Equals(input.PresentationNodeType))
                 ) &&
                 (
                     TraitIds == input.TraitIds ||
                     (TraitIds != null && TraitIds.SequenceEqual(input.TraitIds))
                 ) &&
                 (
                     TraitHashes == input.TraitHashes ||
                     (TraitHashes != null && TraitHashes.SequenceEqual(input.TraitHashes))
                 ) &&
                 (
                     ParentNodeHashes == input.ParentNodeHashes ||
                     (ParentNodeHashes != null && ParentNodeHashes.SequenceEqual(input.ParentNodeHashes))
                 ) &&
                 (
                     Hash == input.Hash ||
                     (Hash.Equals(input.Hash))
                 ) &&
                 (
                     Index == input.Index ||
                     (Index.Equals(input.Index))
                 ) &&
                 (
                     Redacted == input.Redacted ||
                     (Redacted != null && Redacted.Equals(input.Redacted))
                 ));
        }