public void Update(DestinyMilestoneChallengeActivityDefinition?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 (!ActivityGraphNodes.DeepEqualsList(other.ActivityGraphNodes))
     {
         ActivityGraphNodes = other.ActivityGraphNodes;
         OnPropertyChanged(nameof(ActivityGraphNodes));
     }
     if (!Phases.DeepEqualsList(other.Phases))
     {
         Phases = other.Phases;
         OnPropertyChanged(nameof(Phases));
     }
 }
Ejemplo n.º 2
0
 public bool DeepEquals(DestinyActivityDefinition?other)
 {
     return(other is not null &&
            (DisplayProperties is not null ? DisplayProperties.DeepEquals(other.DisplayProperties) : other.DisplayProperties is null) &&
            (OriginalDisplayProperties is not null ? OriginalDisplayProperties.DeepEquals(other.OriginalDisplayProperties) : other.OriginalDisplayProperties is null) &&
            (SelectionScreenDisplayProperties is not null ? SelectionScreenDisplayProperties.DeepEquals(other.SelectionScreenDisplayProperties) : other.SelectionScreenDisplayProperties is null) &&
            ReleaseIcon == other.ReleaseIcon &&
            ReleaseTime == other.ReleaseTime &&
            ActivityLightLevel == other.ActivityLightLevel &&
            DestinationHash == other.DestinationHash &&
            PlaceHash == other.PlaceHash &&
            ActivityTypeHash == other.ActivityTypeHash &&
            Tier == other.Tier &&
            PgcrImage == other.PgcrImage &&
            Rewards.DeepEqualsList(other.Rewards) &&
            Modifiers.DeepEqualsList(other.Modifiers) &&
            IsPlaylist == other.IsPlaylist &&
            Challenges.DeepEqualsList(other.Challenges) &&
            OptionalUnlockStrings.DeepEqualsList(other.OptionalUnlockStrings) &&
            PlaylistItems.DeepEqualsList(other.PlaylistItems) &&
            ActivityGraphList.DeepEqualsList(other.ActivityGraphList) &&
            (Matchmaking is not null ? Matchmaking.DeepEquals(other.Matchmaking) : other.Matchmaking is null) &&
            (GuidedGame is not null ? GuidedGame.DeepEquals(other.GuidedGame) : other.GuidedGame is null) &&
            DirectActivityModeHash == other.DirectActivityModeHash &&
            DirectActivityModeType == other.DirectActivityModeType &&
            Loadouts.DeepEqualsList(other.Loadouts) &&
            ActivityModeHashes.DeepEqualsListNaive(other.ActivityModeHashes) &&
            ActivityModeTypes.DeepEqualsListNaive(other.ActivityModeTypes) &&
            IsPvP == other.IsPvP &&
            InsertionPoints.DeepEqualsList(other.InsertionPoints) &&
            ActivityLocationMappings.DeepEqualsList(other.ActivityLocationMappings) &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
 public bool DeepEquals(DestinyMilestoneChallengeActivityDefinition?other)
 {
     return(other is not null &&
            ActivityHash == other.ActivityHash &&
            Challenges.DeepEqualsList(other.Challenges) &&
            ActivityGraphNodes.DeepEqualsList(other.ActivityGraphNodes) &&
            Phases.DeepEqualsList(other.Phases));
 }
 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));
 }
Ejemplo n.º 5
0
 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));
     }
 }
Ejemplo n.º 7
0
 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));
     }
 }
Ejemplo n.º 8
0
 public void Update(DestinyActivityDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (!DisplayProperties.DeepEquals(other.DisplayProperties))
     {
         DisplayProperties.Update(other.DisplayProperties);
         OnPropertyChanged(nameof(DisplayProperties));
     }
     if (!OriginalDisplayProperties.DeepEquals(other.OriginalDisplayProperties))
     {
         OriginalDisplayProperties.Update(other.OriginalDisplayProperties);
         OnPropertyChanged(nameof(OriginalDisplayProperties));
     }
     if (!SelectionScreenDisplayProperties.DeepEquals(other.SelectionScreenDisplayProperties))
     {
         SelectionScreenDisplayProperties.Update(other.SelectionScreenDisplayProperties);
         OnPropertyChanged(nameof(SelectionScreenDisplayProperties));
     }
     if (ReleaseIcon != other.ReleaseIcon)
     {
         ReleaseIcon = other.ReleaseIcon;
         OnPropertyChanged(nameof(ReleaseIcon));
     }
     if (ReleaseTime != other.ReleaseTime)
     {
         ReleaseTime = other.ReleaseTime;
         OnPropertyChanged(nameof(ReleaseTime));
     }
     if (ActivityLightLevel != other.ActivityLightLevel)
     {
         ActivityLightLevel = other.ActivityLightLevel;
         OnPropertyChanged(nameof(ActivityLightLevel));
     }
     if (DestinationHash != other.DestinationHash)
     {
         DestinationHash = other.DestinationHash;
         OnPropertyChanged(nameof(DestinationHash));
     }
     if (PlaceHash != other.PlaceHash)
     {
         PlaceHash = other.PlaceHash;
         OnPropertyChanged(nameof(PlaceHash));
     }
     if (ActivityTypeHash != other.ActivityTypeHash)
     {
         ActivityTypeHash = other.ActivityTypeHash;
         OnPropertyChanged(nameof(ActivityTypeHash));
     }
     if (Tier != other.Tier)
     {
         Tier = other.Tier;
         OnPropertyChanged(nameof(Tier));
     }
     if (PgcrImage != other.PgcrImage)
     {
         PgcrImage = other.PgcrImage;
         OnPropertyChanged(nameof(PgcrImage));
     }
     if (!Rewards.DeepEqualsList(other.Rewards))
     {
         Rewards = other.Rewards;
         OnPropertyChanged(nameof(Rewards));
     }
     if (!Modifiers.DeepEqualsList(other.Modifiers))
     {
         Modifiers = other.Modifiers;
         OnPropertyChanged(nameof(Modifiers));
     }
     if (IsPlaylist != other.IsPlaylist)
     {
         IsPlaylist = other.IsPlaylist;
         OnPropertyChanged(nameof(IsPlaylist));
     }
     if (!Challenges.DeepEqualsList(other.Challenges))
     {
         Challenges = other.Challenges;
         OnPropertyChanged(nameof(Challenges));
     }
     if (!OptionalUnlockStrings.DeepEqualsList(other.OptionalUnlockStrings))
     {
         OptionalUnlockStrings = other.OptionalUnlockStrings;
         OnPropertyChanged(nameof(OptionalUnlockStrings));
     }
     if (!PlaylistItems.DeepEqualsList(other.PlaylistItems))
     {
         PlaylistItems = other.PlaylistItems;
         OnPropertyChanged(nameof(PlaylistItems));
     }
     if (!ActivityGraphList.DeepEqualsList(other.ActivityGraphList))
     {
         ActivityGraphList = other.ActivityGraphList;
         OnPropertyChanged(nameof(ActivityGraphList));
     }
     if (!Matchmaking.DeepEquals(other.Matchmaking))
     {
         Matchmaking.Update(other.Matchmaking);
         OnPropertyChanged(nameof(Matchmaking));
     }
     if (!GuidedGame.DeepEquals(other.GuidedGame))
     {
         GuidedGame.Update(other.GuidedGame);
         OnPropertyChanged(nameof(GuidedGame));
     }
     if (DirectActivityModeHash != other.DirectActivityModeHash)
     {
         DirectActivityModeHash = other.DirectActivityModeHash;
         OnPropertyChanged(nameof(DirectActivityModeHash));
     }
     if (DirectActivityModeType != other.DirectActivityModeType)
     {
         DirectActivityModeType = other.DirectActivityModeType;
         OnPropertyChanged(nameof(DirectActivityModeType));
     }
     if (!Loadouts.DeepEqualsList(other.Loadouts))
     {
         Loadouts = other.Loadouts;
         OnPropertyChanged(nameof(Loadouts));
     }
     if (!ActivityModeHashes.DeepEqualsListNaive(other.ActivityModeHashes))
     {
         ActivityModeHashes = other.ActivityModeHashes;
         OnPropertyChanged(nameof(ActivityModeHashes));
     }
     if (!ActivityModeTypes.DeepEqualsListNaive(other.ActivityModeTypes))
     {
         ActivityModeTypes = other.ActivityModeTypes;
         OnPropertyChanged(nameof(ActivityModeTypes));
     }
     if (IsPvP != other.IsPvP)
     {
         IsPvP = other.IsPvP;
         OnPropertyChanged(nameof(IsPvP));
     }
     if (!InsertionPoints.DeepEqualsList(other.InsertionPoints))
     {
         InsertionPoints = other.InsertionPoints;
         OnPropertyChanged(nameof(InsertionPoints));
     }
     if (!ActivityLocationMappings.DeepEqualsList(other.ActivityLocationMappings))
     {
         ActivityLocationMappings = other.ActivityLocationMappings;
         OnPropertyChanged(nameof(ActivityLocationMappings));
     }
     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));
     }
 }