public bool DeepEquals(DestinyRecordDefinition?other)
 {
     return(other is not null &&
            (DisplayProperties is not null ? DisplayProperties.DeepEquals(other.DisplayProperties) : other.DisplayProperties is null) &&
            Scope == other.Scope &&
            (PresentationInfo is not null ? PresentationInfo.DeepEquals(other.PresentationInfo) : other.PresentationInfo is null) &&
            LoreHash == other.LoreHash &&
            ObjectiveHashes.DeepEqualsListNaive(other.ObjectiveHashes) &&
            RecordValueStyle == other.RecordValueStyle &&
            ForTitleGilding == other.ForTitleGilding &&
            (TitleInfo is not null ? TitleInfo.DeepEquals(other.TitleInfo) : other.TitleInfo is null) &&
            (CompletionInfo is not null ? CompletionInfo.DeepEquals(other.CompletionInfo) : other.CompletionInfo is null) &&
            (StateInfo is not null ? StateInfo.DeepEquals(other.StateInfo) : other.StateInfo is null) &&
            (Requirements is not null ? Requirements.DeepEquals(other.Requirements) : other.Requirements is null) &&
            (ExpirationInfo is not null ? ExpirationInfo.DeepEquals(other.ExpirationInfo) : other.ExpirationInfo is null) &&
            (IntervalInfo is not null ? IntervalInfo.DeepEquals(other.IntervalInfo) : other.IntervalInfo is null) &&
            RewardItems.DeepEqualsList(other.RewardItems) &&
            PresentationNodeType == other.PresentationNodeType &&
            TraitIds.DeepEqualsListNaive(other.TraitIds) &&
            TraitHashes.DeepEqualsListNaive(other.TraitHashes) &&
            ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes) &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
 public void Update(DestinyMetricDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (!DisplayProperties.DeepEquals(other.DisplayProperties))
     {
         DisplayProperties.Update(other.DisplayProperties);
         OnPropertyChanged(nameof(DisplayProperties));
     }
     if (TrackingObjectiveHash != other.TrackingObjectiveHash)
     {
         TrackingObjectiveHash = other.TrackingObjectiveHash;
         OnPropertyChanged(nameof(TrackingObjectiveHash));
     }
     if (LowerValueIsBetter != other.LowerValueIsBetter)
     {
         LowerValueIsBetter = other.LowerValueIsBetter;
         OnPropertyChanged(nameof(LowerValueIsBetter));
     }
     if (PresentationNodeType != other.PresentationNodeType)
     {
         PresentationNodeType = other.PresentationNodeType;
         OnPropertyChanged(nameof(PresentationNodeType));
     }
     if (!TraitIds.DeepEqualsListNaive(other.TraitIds))
     {
         TraitIds = other.TraitIds;
         OnPropertyChanged(nameof(TraitIds));
     }
     if (!TraitHashes.DeepEqualsListNaive(other.TraitHashes))
     {
         TraitHashes = other.TraitHashes;
         OnPropertyChanged(nameof(TraitHashes));
     }
     if (!ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes))
     {
         ParentNodeHashes = other.ParentNodeHashes;
         OnPropertyChanged(nameof(ParentNodeHashes));
     }
     if (Hash != other.Hash)
     {
         Hash = other.Hash;
         OnPropertyChanged(nameof(Hash));
     }
     if (Index != other.Index)
     {
         Index = other.Index;
         OnPropertyChanged(nameof(Index));
     }
     if (Redacted != other.Redacted)
     {
         Redacted = other.Redacted;
         OnPropertyChanged(nameof(Redacted));
     }
 }
Ejemplo n.º 3
0
 public bool DeepEquals(DestinyPresentationNodeBaseDefinition?other)
 {
     return(other is not null &&
            PresentationNodeType == other.PresentationNodeType &&
            TraitIds.DeepEqualsListNaive(other.TraitIds) &&
            TraitHashes.DeepEqualsListNaive(other.TraitHashes) &&
            ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes) &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
 public bool DeepEquals(DestinyMetricDefinition?other)
 {
     return(other is not null &&
            (DisplayProperties is not null ? DisplayProperties.DeepEquals(other.DisplayProperties) : other.DisplayProperties is null) &&
            TrackingObjectiveHash == other.TrackingObjectiveHash &&
            LowerValueIsBetter == other.LowerValueIsBetter &&
            PresentationNodeType == other.PresentationNodeType &&
            TraitIds.DeepEqualsListNaive(other.TraitIds) &&
            TraitHashes.DeepEqualsListNaive(other.TraitHashes) &&
            ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes) &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
        public bool Equals(DestinyMetricDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                     ) &&
                 (
                     TrackingObjectiveHash == input.TrackingObjectiveHash ||
                     (TrackingObjectiveHash.Equals(input.TrackingObjectiveHash))
                 ) &&
                 (
                     LowerValueIsBetter == input.LowerValueIsBetter ||
                     (LowerValueIsBetter != null && LowerValueIsBetter.Equals(input.LowerValueIsBetter))
                 ) &&
                 (
                     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))
                 ));
        }
Ejemplo n.º 6
0
 public void Update(DestinyScoredPresentationNodeBaseDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (MaxCategoryRecordScore != other.MaxCategoryRecordScore)
     {
         MaxCategoryRecordScore = other.MaxCategoryRecordScore;
         OnPropertyChanged(nameof(MaxCategoryRecordScore));
     }
     if (PresentationNodeType != other.PresentationNodeType)
     {
         PresentationNodeType = other.PresentationNodeType;
         OnPropertyChanged(nameof(PresentationNodeType));
     }
     if (!TraitIds.DeepEqualsListNaive(other.TraitIds))
     {
         TraitIds = other.TraitIds;
         OnPropertyChanged(nameof(TraitIds));
     }
     if (!TraitHashes.DeepEqualsListNaive(other.TraitHashes))
     {
         TraitHashes = other.TraitHashes;
         OnPropertyChanged(nameof(TraitHashes));
     }
     if (!ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes))
     {
         ParentNodeHashes = other.ParentNodeHashes;
         OnPropertyChanged(nameof(ParentNodeHashes));
     }
     if (Hash != other.Hash)
     {
         Hash = other.Hash;
         OnPropertyChanged(nameof(Hash));
     }
     if (Index != other.Index)
     {
         Index = other.Index;
         OnPropertyChanged(nameof(Index));
     }
     if (Redacted != other.Redacted)
     {
         Redacted = other.Redacted;
         OnPropertyChanged(nameof(Redacted));
     }
 }
Ejemplo n.º 7
0
 public bool DeepEquals(DestinyCollectibleDefinition?other)
 {
     return(other is not null &&
            (DisplayProperties is not null ? DisplayProperties.DeepEquals(other.DisplayProperties) : other.DisplayProperties is null) &&
            Scope == other.Scope &&
            SourceString == other.SourceString &&
            SourceHash == other.SourceHash &&
            ItemHash == other.ItemHash &&
            (AcquisitionInfo is not null ? AcquisitionInfo.DeepEquals(other.AcquisitionInfo) : other.AcquisitionInfo is null) &&
            (StateInfo is not null ? StateInfo.DeepEquals(other.StateInfo) : other.StateInfo is null) &&
            (PresentationInfo is not null ? PresentationInfo.DeepEquals(other.PresentationInfo) : other.PresentationInfo is null) &&
            PresentationNodeType == other.PresentationNodeType &&
            TraitIds.DeepEqualsListNaive(other.TraitIds) &&
            TraitHashes.DeepEqualsListNaive(other.TraitHashes) &&
            ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes) &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
Ejemplo n.º 8
0
        public bool Equals(DestinyScoredPresentationNodeBaseDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     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))
                 ));
        }
 public bool DeepEquals(DestinyPresentationNodeDefinition?other)
 {
     return(other is not null &&
            (DisplayProperties is not null ? DisplayProperties.DeepEquals(other.DisplayProperties) : other.DisplayProperties is null) &&
            OriginalIcon == other.OriginalIcon &&
            RootViewIcon == other.RootViewIcon &&
            NodeType == other.NodeType &&
            Scope == other.Scope &&
            ObjectiveHash == other.ObjectiveHash &&
            CompletionRecordHash == other.CompletionRecordHash &&
            (Children is not null ? Children.DeepEquals(other.Children) : other.Children is null) &&
            DisplayStyle == other.DisplayStyle &&
            ScreenStyle == other.ScreenStyle &&
            (Requirements is not null ? Requirements.DeepEquals(other.Requirements) : other.Requirements is null) &&
            DisableChildSubscreenNavigation == other.DisableChildSubscreenNavigation &&
            MaxCategoryRecordScore == other.MaxCategoryRecordScore &&
            PresentationNodeType == other.PresentationNodeType &&
            TraitIds.DeepEqualsListNaive(other.TraitIds) &&
            TraitHashes.DeepEqualsListNaive(other.TraitHashes) &&
            ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes) &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
Ejemplo n.º 10
0
 public void Update(DestinyCollectibleDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (!DisplayProperties.DeepEquals(other.DisplayProperties))
     {
         DisplayProperties.Update(other.DisplayProperties);
         OnPropertyChanged(nameof(DisplayProperties));
     }
     if (Scope != other.Scope)
     {
         Scope = other.Scope;
         OnPropertyChanged(nameof(Scope));
     }
     if (SourceString != other.SourceString)
     {
         SourceString = other.SourceString;
         OnPropertyChanged(nameof(SourceString));
     }
     if (SourceHash != other.SourceHash)
     {
         SourceHash = other.SourceHash;
         OnPropertyChanged(nameof(SourceHash));
     }
     if (ItemHash != other.ItemHash)
     {
         ItemHash = other.ItemHash;
         OnPropertyChanged(nameof(ItemHash));
     }
     if (!AcquisitionInfo.DeepEquals(other.AcquisitionInfo))
     {
         AcquisitionInfo.Update(other.AcquisitionInfo);
         OnPropertyChanged(nameof(AcquisitionInfo));
     }
     if (!StateInfo.DeepEquals(other.StateInfo))
     {
         StateInfo.Update(other.StateInfo);
         OnPropertyChanged(nameof(StateInfo));
     }
     if (!PresentationInfo.DeepEquals(other.PresentationInfo))
     {
         PresentationInfo.Update(other.PresentationInfo);
         OnPropertyChanged(nameof(PresentationInfo));
     }
     if (PresentationNodeType != other.PresentationNodeType)
     {
         PresentationNodeType = other.PresentationNodeType;
         OnPropertyChanged(nameof(PresentationNodeType));
     }
     if (!TraitIds.DeepEqualsListNaive(other.TraitIds))
     {
         TraitIds = other.TraitIds;
         OnPropertyChanged(nameof(TraitIds));
     }
     if (!TraitHashes.DeepEqualsListNaive(other.TraitHashes))
     {
         TraitHashes = other.TraitHashes;
         OnPropertyChanged(nameof(TraitHashes));
     }
     if (!ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes))
     {
         ParentNodeHashes = other.ParentNodeHashes;
         OnPropertyChanged(nameof(ParentNodeHashes));
     }
     if (Hash != other.Hash)
     {
         Hash = other.Hash;
         OnPropertyChanged(nameof(Hash));
     }
     if (Index != other.Index)
     {
         Index = other.Index;
         OnPropertyChanged(nameof(Index));
     }
     if (Redacted != other.Redacted)
     {
         Redacted = other.Redacted;
         OnPropertyChanged(nameof(Redacted));
     }
 }
Ejemplo n.º 11
0
        public bool Equals(DestinyRecordDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                     ) &&
                 (
                     Scope == input.Scope ||
                     (Scope != null && Scope.Equals(input.Scope))
                 ) &&
                 (
                     PresentationInfo == input.PresentationInfo ||
                     (PresentationInfo != null && PresentationInfo.Equals(input.PresentationInfo))
                 ) &&
                 (
                     LoreHash == input.LoreHash ||
                     (LoreHash.Equals(input.LoreHash))
                 ) &&
                 (
                     ObjectiveHashes == input.ObjectiveHashes ||
                     (ObjectiveHashes != null && ObjectiveHashes.SequenceEqual(input.ObjectiveHashes))
                 ) &&
                 (
                     RecordValueStyle == input.RecordValueStyle ||
                     (RecordValueStyle != null && RecordValueStyle.Equals(input.RecordValueStyle))
                 ) &&
                 (
                     ForTitleGilding == input.ForTitleGilding ||
                     (ForTitleGilding != null && ForTitleGilding.Equals(input.ForTitleGilding))
                 ) &&
                 (
                     TitleInfo == input.TitleInfo ||
                     (TitleInfo != null && TitleInfo.Equals(input.TitleInfo))
                 ) &&
                 (
                     CompletionInfo == input.CompletionInfo ||
                     (CompletionInfo != null && CompletionInfo.Equals(input.CompletionInfo))
                 ) &&
                 (
                     StateInfo == input.StateInfo ||
                     (StateInfo != null && StateInfo.Equals(input.StateInfo))
                 ) &&
                 (
                     Requirements == input.Requirements ||
                     (Requirements != null && Requirements.Equals(input.Requirements))
                 ) &&
                 (
                     ExpirationInfo == input.ExpirationInfo ||
                     (ExpirationInfo != null && ExpirationInfo.Equals(input.ExpirationInfo))
                 ) &&
                 (
                     IntervalInfo == input.IntervalInfo ||
                     (IntervalInfo != null && IntervalInfo.Equals(input.IntervalInfo))
                 ) &&
                 (
                     RewardItems == input.RewardItems ||
                     (RewardItems != null && RewardItems.SequenceEqual(input.RewardItems))
                 ) &&
                 (
                     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))
                 ));
        }
        public bool Equals(DestinyCollectibleDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                     ) &&
                 (
                     Scope == input.Scope ||
                     (Scope != null && Scope.Equals(input.Scope))
                 ) &&
                 (
                     SourceString == input.SourceString ||
                     (SourceString != null && SourceString.Equals(input.SourceString))
                 ) &&
                 (
                     SourceHash == input.SourceHash ||
                     (SourceHash.Equals(input.SourceHash))
                 ) &&
                 (
                     ItemHash == input.ItemHash ||
                     (ItemHash.Equals(input.ItemHash))
                 ) &&
                 (
                     AcquisitionInfo == input.AcquisitionInfo ||
                     (AcquisitionInfo != null && AcquisitionInfo.Equals(input.AcquisitionInfo))
                 ) &&
                 (
                     StateInfo == input.StateInfo ||
                     (StateInfo != null && StateInfo.Equals(input.StateInfo))
                 ) &&
                 (
                     PresentationInfo == input.PresentationInfo ||
                     (PresentationInfo != null && PresentationInfo.Equals(input.PresentationInfo))
                 ) &&
                 (
                     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))
                 ));
        }
Ejemplo n.º 13
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))
                 ));
        }
 public void Update(DestinyPresentationNodeDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (!DisplayProperties.DeepEquals(other.DisplayProperties))
     {
         DisplayProperties.Update(other.DisplayProperties);
         OnPropertyChanged(nameof(DisplayProperties));
     }
     if (OriginalIcon != other.OriginalIcon)
     {
         OriginalIcon = other.OriginalIcon;
         OnPropertyChanged(nameof(OriginalIcon));
     }
     if (RootViewIcon != other.RootViewIcon)
     {
         RootViewIcon = other.RootViewIcon;
         OnPropertyChanged(nameof(RootViewIcon));
     }
     if (NodeType != other.NodeType)
     {
         NodeType = other.NodeType;
         OnPropertyChanged(nameof(NodeType));
     }
     if (Scope != other.Scope)
     {
         Scope = other.Scope;
         OnPropertyChanged(nameof(Scope));
     }
     if (ObjectiveHash != other.ObjectiveHash)
     {
         ObjectiveHash = other.ObjectiveHash;
         OnPropertyChanged(nameof(ObjectiveHash));
     }
     if (CompletionRecordHash != other.CompletionRecordHash)
     {
         CompletionRecordHash = other.CompletionRecordHash;
         OnPropertyChanged(nameof(CompletionRecordHash));
     }
     if (!Children.DeepEquals(other.Children))
     {
         Children.Update(other.Children);
         OnPropertyChanged(nameof(Children));
     }
     if (DisplayStyle != other.DisplayStyle)
     {
         DisplayStyle = other.DisplayStyle;
         OnPropertyChanged(nameof(DisplayStyle));
     }
     if (ScreenStyle != other.ScreenStyle)
     {
         ScreenStyle = other.ScreenStyle;
         OnPropertyChanged(nameof(ScreenStyle));
     }
     if (!Requirements.DeepEquals(other.Requirements))
     {
         Requirements.Update(other.Requirements);
         OnPropertyChanged(nameof(Requirements));
     }
     if (DisableChildSubscreenNavigation != other.DisableChildSubscreenNavigation)
     {
         DisableChildSubscreenNavigation = other.DisableChildSubscreenNavigation;
         OnPropertyChanged(nameof(DisableChildSubscreenNavigation));
     }
     if (MaxCategoryRecordScore != other.MaxCategoryRecordScore)
     {
         MaxCategoryRecordScore = other.MaxCategoryRecordScore;
         OnPropertyChanged(nameof(MaxCategoryRecordScore));
     }
     if (PresentationNodeType != other.PresentationNodeType)
     {
         PresentationNodeType = other.PresentationNodeType;
         OnPropertyChanged(nameof(PresentationNodeType));
     }
     if (!TraitIds.DeepEqualsListNaive(other.TraitIds))
     {
         TraitIds = other.TraitIds;
         OnPropertyChanged(nameof(TraitIds));
     }
     if (!TraitHashes.DeepEqualsListNaive(other.TraitHashes))
     {
         TraitHashes = other.TraitHashes;
         OnPropertyChanged(nameof(TraitHashes));
     }
     if (!ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes))
     {
         ParentNodeHashes = other.ParentNodeHashes;
         OnPropertyChanged(nameof(ParentNodeHashes));
     }
     if (Hash != other.Hash)
     {
         Hash = other.Hash;
         OnPropertyChanged(nameof(Hash));
     }
     if (Index != other.Index)
     {
         Index = other.Index;
         OnPropertyChanged(nameof(Index));
     }
     if (Redacted != other.Redacted)
     {
         Redacted = other.Redacted;
         OnPropertyChanged(nameof(Redacted));
     }
 }
 public void Update(DestinyRecordDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (!DisplayProperties.DeepEquals(other.DisplayProperties))
     {
         DisplayProperties.Update(other.DisplayProperties);
         OnPropertyChanged(nameof(DisplayProperties));
     }
     if (Scope != other.Scope)
     {
         Scope = other.Scope;
         OnPropertyChanged(nameof(Scope));
     }
     if (!PresentationInfo.DeepEquals(other.PresentationInfo))
     {
         PresentationInfo.Update(other.PresentationInfo);
         OnPropertyChanged(nameof(PresentationInfo));
     }
     if (LoreHash != other.LoreHash)
     {
         LoreHash = other.LoreHash;
         OnPropertyChanged(nameof(LoreHash));
     }
     if (!ObjectiveHashes.DeepEqualsListNaive(other.ObjectiveHashes))
     {
         ObjectiveHashes = other.ObjectiveHashes;
         OnPropertyChanged(nameof(ObjectiveHashes));
     }
     if (RecordValueStyle != other.RecordValueStyle)
     {
         RecordValueStyle = other.RecordValueStyle;
         OnPropertyChanged(nameof(RecordValueStyle));
     }
     if (ForTitleGilding != other.ForTitleGilding)
     {
         ForTitleGilding = other.ForTitleGilding;
         OnPropertyChanged(nameof(ForTitleGilding));
     }
     if (!TitleInfo.DeepEquals(other.TitleInfo))
     {
         TitleInfo.Update(other.TitleInfo);
         OnPropertyChanged(nameof(TitleInfo));
     }
     if (!CompletionInfo.DeepEquals(other.CompletionInfo))
     {
         CompletionInfo.Update(other.CompletionInfo);
         OnPropertyChanged(nameof(CompletionInfo));
     }
     if (!StateInfo.DeepEquals(other.StateInfo))
     {
         StateInfo.Update(other.StateInfo);
         OnPropertyChanged(nameof(StateInfo));
     }
     if (!Requirements.DeepEquals(other.Requirements))
     {
         Requirements.Update(other.Requirements);
         OnPropertyChanged(nameof(Requirements));
     }
     if (!ExpirationInfo.DeepEquals(other.ExpirationInfo))
     {
         ExpirationInfo.Update(other.ExpirationInfo);
         OnPropertyChanged(nameof(ExpirationInfo));
     }
     if (!IntervalInfo.DeepEquals(other.IntervalInfo))
     {
         IntervalInfo.Update(other.IntervalInfo);
         OnPropertyChanged(nameof(IntervalInfo));
     }
     if (!RewardItems.DeepEqualsList(other.RewardItems))
     {
         RewardItems = other.RewardItems;
         OnPropertyChanged(nameof(RewardItems));
     }
     if (PresentationNodeType != other.PresentationNodeType)
     {
         PresentationNodeType = other.PresentationNodeType;
         OnPropertyChanged(nameof(PresentationNodeType));
     }
     if (!TraitIds.DeepEqualsListNaive(other.TraitIds))
     {
         TraitIds = other.TraitIds;
         OnPropertyChanged(nameof(TraitIds));
     }
     if (!TraitHashes.DeepEqualsListNaive(other.TraitHashes))
     {
         TraitHashes = other.TraitHashes;
         OnPropertyChanged(nameof(TraitHashes));
     }
     if (!ParentNodeHashes.DeepEqualsListNaive(other.ParentNodeHashes))
     {
         ParentNodeHashes = other.ParentNodeHashes;
         OnPropertyChanged(nameof(ParentNodeHashes));
     }
     if (Hash != other.Hash)
     {
         Hash = other.Hash;
         OnPropertyChanged(nameof(Hash));
     }
     if (Index != other.Index)
     {
         Index = other.Index;
         OnPropertyChanged(nameof(Index));
     }
     if (Redacted != other.Redacted)
     {
         Redacted = other.Redacted;
         OnPropertyChanged(nameof(Redacted));
     }
 }