Exemple #1
0
 public bool DeepEquals(ActivityPlaylistItemEntry other)
 {
     return(other != null &&
            Activity.DeepEquals(other.Activity) &&
            ActivityModes.DeepEqualsReadOnlyCollections(other.ActivityModes) &&
            ActivityModeTypes.DeepEqualsReadOnlySimpleCollection(other.ActivityModeTypes) &&
            DirectActivityMode.DeepEquals(other.DirectActivityMode) &&
            DirectActivityModeType == other.DirectActivityModeType &&
            Weight == other.Weight);
 }
Exemple #2
0
 public bool DeepEquals(DestinyActivityDefinition other)
 {
     return(other != null &&
            ActivityGraphList.DeepEqualsReadOnlyCollections(other.ActivityGraphList) &&
            ActivityLevel == other.ActivityLevel &&
            ActivityLightLevel == other.ActivityLightLevel &&
            ActivityLocationMappings.DeepEqualsReadOnlyCollections(other.ActivityLocationMappings) &&
            ActivityModes.DeepEqualsReadOnlyCollections(other.ActivityModes) &&
            ActivityModeTypes.DeepEqualsReadOnlySimpleCollection(other.ActivityModeTypes) &&
            ActivityType.DeepEquals(other.ActivityType) &&
            Challenges.DeepEqualsReadOnlyCollections(other.Challenges) &&
            CompletionUnlockHash == other.CompletionUnlockHash &&
            Destination.DeepEquals(other.Destination) &&
            DirectActivityMode.DeepEquals(other.DirectActivityMode) &&
            DirectActivityModeType == other.DirectActivityModeType &&
            DisplayProperties.DeepEquals(other.DisplayProperties) &&
            (GuidedGame != null ? GuidedGame.DeepEquals(other.GuidedGame) : other.GuidedGame == null) &&
            InheritFromFreeRoam == other.InheritFromFreeRoam &&
            InsertionPoints.DeepEqualsReadOnlyCollections(other.InsertionPoints) &&
            IsPlaylist == other.IsPlaylist &&
            IsPvP == other.IsPvP &&
            (Matchmaking != null ? Matchmaking.DeepEquals(other.Matchmaking) : other.Matchmaking == null) &&
            Modifiers.DeepEqualsReadOnlyCollections(other.Modifiers) &&
            OptionalUnlockStrings.DeepEqualsReadOnlyCollections(other.OptionalUnlockStrings) &&
            OriginalDisplayProperties.DeepEquals(other.OriginalDisplayProperties) &&
            PgcrImage == other.PgcrImage &&
            Place.DeepEquals(other.Place) &&
            PlaylistItems.DeepEqualsReadOnlyCollections(other.PlaylistItems) &&
            ReleaseIcon == other.ReleaseIcon &&
            ReleaseTime == other.ReleaseTime &&
            Rewards.DeepEqualsReadOnlyCollections(other.Rewards) &&
            (SelectionScreenDisplayProperties != null ? SelectionScreenDisplayProperties.DeepEquals(other.SelectionScreenDisplayProperties) : other.SelectionScreenDisplayProperties == null) &&
            SuppressOtherRewards == other.SuppressOtherRewards &&
            Tier == other.Tier &&
            Loadouts.DeepEqualsReadOnlyCollections(other.Loadouts) &&
            Blacklisted == other.Blacklisted &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }