public bool DeepEquals(DestinyMilestoneChallengeActivity?other) { return(other is not null && ActivityHash == other.ActivityHash && Challenges.DeepEqualsList(other.Challenges) && ModifierHashes.DeepEqualsListNaive(other.ModifierHashes) && BooleanActivityOptions.DeepEqualsDictionaryNaive(other.BooleanActivityOptions) && LoadoutRequirementIndex == other.LoadoutRequirementIndex && Phases.DeepEqualsList(other.Phases)); }
public bool DeepEquals(DestinyActivity?other) { return(other is not null && ActivityHash == other.ActivityHash && IsNew == other.IsNew && CanLead == other.CanLead && CanJoin == other.CanJoin && IsCompleted == other.IsCompleted && IsVisible == other.IsVisible && DisplayLevel == other.DisplayLevel && RecommendedLight == other.RecommendedLight && DifficultyTier == other.DifficultyTier && Challenges.DeepEqualsList(other.Challenges) && ModifierHashes.DeepEqualsListNaive(other.ModifierHashes) && BooleanActivityOptions.DeepEqualsDictionaryNaive(other.BooleanActivityOptions) && LoadoutRequirementIndex == other.LoadoutRequirementIndex); }
public void Update(DestinyMilestoneChallengeActivity?other) { if (other is null) { return; } if (ActivityHash != other.ActivityHash) { ActivityHash = other.ActivityHash; OnPropertyChanged(nameof(ActivityHash)); } if (!Challenges.DeepEqualsList(other.Challenges)) { Challenges = other.Challenges; OnPropertyChanged(nameof(Challenges)); } if (!ModifierHashes.DeepEqualsListNaive(other.ModifierHashes)) { ModifierHashes = other.ModifierHashes; OnPropertyChanged(nameof(ModifierHashes)); } if (!BooleanActivityOptions.DeepEqualsDictionaryNaive(other.BooleanActivityOptions)) { BooleanActivityOptions = other.BooleanActivityOptions; OnPropertyChanged(nameof(BooleanActivityOptions)); } if (LoadoutRequirementIndex != other.LoadoutRequirementIndex) { LoadoutRequirementIndex = other.LoadoutRequirementIndex; OnPropertyChanged(nameof(LoadoutRequirementIndex)); } if (!Phases.DeepEqualsList(other.Phases)) { Phases = other.Phases; OnPropertyChanged(nameof(Phases)); } }
public void Update(DestinyActivity?other) { if (other is null) { return; } if (ActivityHash != other.ActivityHash) { ActivityHash = other.ActivityHash; OnPropertyChanged(nameof(ActivityHash)); } if (IsNew != other.IsNew) { IsNew = other.IsNew; OnPropertyChanged(nameof(IsNew)); } if (CanLead != other.CanLead) { CanLead = other.CanLead; OnPropertyChanged(nameof(CanLead)); } if (CanJoin != other.CanJoin) { CanJoin = other.CanJoin; OnPropertyChanged(nameof(CanJoin)); } if (IsCompleted != other.IsCompleted) { IsCompleted = other.IsCompleted; OnPropertyChanged(nameof(IsCompleted)); } if (IsVisible != other.IsVisible) { IsVisible = other.IsVisible; OnPropertyChanged(nameof(IsVisible)); } if (DisplayLevel != other.DisplayLevel) { DisplayLevel = other.DisplayLevel; OnPropertyChanged(nameof(DisplayLevel)); } if (RecommendedLight != other.RecommendedLight) { RecommendedLight = other.RecommendedLight; OnPropertyChanged(nameof(RecommendedLight)); } if (DifficultyTier != other.DifficultyTier) { DifficultyTier = other.DifficultyTier; OnPropertyChanged(nameof(DifficultyTier)); } if (!Challenges.DeepEqualsList(other.Challenges)) { Challenges = other.Challenges; OnPropertyChanged(nameof(Challenges)); } if (!ModifierHashes.DeepEqualsListNaive(other.ModifierHashes)) { ModifierHashes = other.ModifierHashes; OnPropertyChanged(nameof(ModifierHashes)); } if (!BooleanActivityOptions.DeepEqualsDictionaryNaive(other.BooleanActivityOptions)) { BooleanActivityOptions = other.BooleanActivityOptions; OnPropertyChanged(nameof(BooleanActivityOptions)); } if (LoadoutRequirementIndex != other.LoadoutRequirementIndex) { LoadoutRequirementIndex = other.LoadoutRequirementIndex; OnPropertyChanged(nameof(LoadoutRequirementIndex)); } }