public void Update(DestinyProgressionStepDefinition?other) { if (other is null) { return; } if (StepName != other.StepName) { StepName = other.StepName; OnPropertyChanged(nameof(StepName)); } if (DisplayEffectType != other.DisplayEffectType) { DisplayEffectType = other.DisplayEffectType; OnPropertyChanged(nameof(DisplayEffectType)); } if (ProgressTotal != other.ProgressTotal) { ProgressTotal = other.ProgressTotal; OnPropertyChanged(nameof(ProgressTotal)); } if (!RewardItems.DeepEqualsList(other.RewardItems)) { RewardItems = other.RewardItems; OnPropertyChanged(nameof(RewardItems)); } if (Icon != other.Icon) { Icon = other.Icon; OnPropertyChanged(nameof(Icon)); } }
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 bool DeepEquals(DestinyProgressionStepDefinition?other) { return(other is not null && StepName == other.StepName && DisplayEffectType == other.DisplayEffectType && ProgressTotal == other.ProgressTotal && RewardItems.DeepEqualsList(other.RewardItems) && Icon == other.Icon); }
public bool DeepEquals(DestinyProgressionDefinition?other) { return(other is not null && (DisplayProperties is not null ? DisplayProperties.DeepEquals(other.DisplayProperties) : other.DisplayProperties is null) && Scope == other.Scope && RepeatLastStep == other.RepeatLastStep && Source == other.Source && Steps.DeepEqualsList(other.Steps) && Visible == other.Visible && FactionHash == other.FactionHash && (Color is not null ? Color.DeepEquals(other.Color) : other.Color is null) && RankIcon == other.RankIcon && RewardItems.DeepEqualsList(other.RewardItems) && Hash == other.Hash && Index == other.Index && Redacted == other.Redacted); }
public void Update(DestinyProgressionDefinition?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 (RepeatLastStep != other.RepeatLastStep) { RepeatLastStep = other.RepeatLastStep; OnPropertyChanged(nameof(RepeatLastStep)); } if (Source != other.Source) { Source = other.Source; OnPropertyChanged(nameof(Source)); } if (!Steps.DeepEqualsList(other.Steps)) { Steps = other.Steps; OnPropertyChanged(nameof(Steps)); } if (Visible != other.Visible) { Visible = other.Visible; OnPropertyChanged(nameof(Visible)); } if (FactionHash != other.FactionHash) { FactionHash = other.FactionHash; OnPropertyChanged(nameof(FactionHash)); } if (!Color.DeepEquals(other.Color)) { Color.Update(other.Color); OnPropertyChanged(nameof(Color)); } if (RankIcon != other.RankIcon) { RankIcon = other.RankIcon; OnPropertyChanged(nameof(RankIcon)); } if (!RewardItems.DeepEqualsList(other.RewardItems)) { RewardItems = other.RewardItems; OnPropertyChanged(nameof(RewardItems)); } 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)); } }