public bool Equals(DestinyChecklistEntryDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Hash == input.Hash ||
                     (Hash.Equals(input.Hash))
                     ) &&
                 (
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                 ) &&
                 (
                     DestinationHash == input.DestinationHash ||
                     (DestinationHash.Equals(input.DestinationHash))
                 ) &&
                 (
                     LocationHash == input.LocationHash ||
                     (LocationHash.Equals(input.LocationHash))
                 ) &&
                 (
                     BubbleHash == input.BubbleHash ||
                     (BubbleHash.Equals(input.BubbleHash))
                 ) &&
                 (
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                 ) &&
                 (
                     ItemHash == input.ItemHash ||
                     (ItemHash.Equals(input.ItemHash))
                 ) &&
                 (
                     VendorHash == input.VendorHash ||
                     (VendorHash.Equals(input.VendorHash))
                 ) &&
                 (
                     VendorInteractionIndex == input.VendorInteractionIndex ||
                     (VendorInteractionIndex.Equals(input.VendorInteractionIndex))
                 ) &&
                 (
                     Scope == input.Scope ||
                     (Scope != null && Scope.Equals(input.Scope))
                 ));
        }
        public bool Equals(DestinyVendorLocationDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DestinationHash == input.DestinationHash ||
                     (DestinationHash.Equals(input.DestinationHash))
                     ) &&
                 (
                     BackgroundImagePath == input.BackgroundImagePath ||
                     (BackgroundImagePath != null && BackgroundImagePath.Equals(input.BackgroundImagePath))
                 ));
        }
예제 #3
0
        public bool Equals(DestinyObjectiveProgress input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ObjectiveHash == input.ObjectiveHash ||
                     (ObjectiveHash.Equals(input.ObjectiveHash))
                     ) &&
                 (
                     DestinationHash == input.DestinationHash ||
                     (DestinationHash.Equals(input.DestinationHash))
                 ) &&
                 (
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                 ) &&
                 (
                     Progress == input.Progress ||
                     (Progress.Equals(input.Progress))
                 ) &&
                 (
                     CompletionValue == input.CompletionValue ||
                     (CompletionValue.Equals(input.CompletionValue))
                 ) &&
                 (
                     Complete == input.Complete ||
                     (Complete != null && Complete.Equals(input.Complete))
                 ) &&
                 (
                     Visible == input.Visible ||
                     (Visible != null && Visible.Equals(input.Visible))
                 ));
        }
예제 #4
0
        public bool Equals(DestinyLocationReleaseDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                     ) &&
                 (
                     SmallTransparentIcon == input.SmallTransparentIcon ||
                     (SmallTransparentIcon != null && SmallTransparentIcon.Equals(input.SmallTransparentIcon))
                 ) &&
                 (
                     MapIcon == input.MapIcon ||
                     (MapIcon != null && MapIcon.Equals(input.MapIcon))
                 ) &&
                 (
                     LargeTransparentIcon == input.LargeTransparentIcon ||
                     (LargeTransparentIcon != null && LargeTransparentIcon.Equals(input.LargeTransparentIcon))
                 ) &&
                 (
                     SpawnPoint == input.SpawnPoint ||
                     (SpawnPoint.Equals(input.SpawnPoint))
                 ) &&
                 (
                     DestinationHash == input.DestinationHash ||
                     (DestinationHash.Equals(input.DestinationHash))
                 ) &&
                 (
                     ActivityHash == input.ActivityHash ||
                     (ActivityHash.Equals(input.ActivityHash))
                 ) &&
                 (
                     ActivityGraphHash == input.ActivityGraphHash ||
                     (ActivityGraphHash.Equals(input.ActivityGraphHash))
                 ) &&
                 (
                     ActivityGraphNodeHash == input.ActivityGraphNodeHash ||
                     (ActivityGraphNodeHash.Equals(input.ActivityGraphNodeHash))
                 ) &&
                 (
                     ActivityBubbleName == input.ActivityBubbleName ||
                     (ActivityBubbleName.Equals(input.ActivityBubbleName))
                 ) &&
                 (
                     ActivityPathBundle == input.ActivityPathBundle ||
                     (ActivityPathBundle.Equals(input.ActivityPathBundle))
                 ) &&
                 (
                     ActivityPathDestination == input.ActivityPathDestination ||
                     (ActivityPathDestination.Equals(input.ActivityPathDestination))
                 ) &&
                 (
                     NavPointType == input.NavPointType ||
                     (NavPointType != null && NavPointType.Equals(input.NavPointType))
                 ) &&
                 (
                     WorldPosition == input.WorldPosition ||
                     (WorldPosition != null && WorldPosition.SequenceEqual(input.WorldPosition))
                 ));
        }
        public bool Equals(DestinyActivityDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     DisplayProperties == input.DisplayProperties ||
                     (DisplayProperties != null && DisplayProperties.Equals(input.DisplayProperties))
                     ) &&
                 (
                     OriginalDisplayProperties == input.OriginalDisplayProperties ||
                     (OriginalDisplayProperties != null && OriginalDisplayProperties.Equals(input.OriginalDisplayProperties))
                 ) &&
                 (
                     SelectionScreenDisplayProperties == input.SelectionScreenDisplayProperties ||
                     (SelectionScreenDisplayProperties != null && SelectionScreenDisplayProperties.Equals(input.SelectionScreenDisplayProperties))
                 ) &&
                 (
                     ReleaseIcon == input.ReleaseIcon ||
                     (ReleaseIcon != null && ReleaseIcon.Equals(input.ReleaseIcon))
                 ) &&
                 (
                     ReleaseTime == input.ReleaseTime ||
                     (ReleaseTime.Equals(input.ReleaseTime))
                 ) &&
                 (
                     ActivityLightLevel == input.ActivityLightLevel ||
                     (ActivityLightLevel.Equals(input.ActivityLightLevel))
                 ) &&
                 (
                     DestinationHash == input.DestinationHash ||
                     (DestinationHash.Equals(input.DestinationHash))
                 ) &&
                 (
                     PlaceHash == input.PlaceHash ||
                     (PlaceHash.Equals(input.PlaceHash))
                 ) &&
                 (
                     ActivityTypeHash == input.ActivityTypeHash ||
                     (ActivityTypeHash.Equals(input.ActivityTypeHash))
                 ) &&
                 (
                     Tier == input.Tier ||
                     (Tier.Equals(input.Tier))
                 ) &&
                 (
                     PgcrImage == input.PgcrImage ||
                     (PgcrImage != null && PgcrImage.Equals(input.PgcrImage))
                 ) &&
                 (
                     Rewards == input.Rewards ||
                     (Rewards != null && Rewards.SequenceEqual(input.Rewards))
                 ) &&
                 (
                     Modifiers == input.Modifiers ||
                     (Modifiers != null && Modifiers.SequenceEqual(input.Modifiers))
                 ) &&
                 (
                     IsPlaylist == input.IsPlaylist ||
                     (IsPlaylist != null && IsPlaylist.Equals(input.IsPlaylist))
                 ) &&
                 (
                     Challenges == input.Challenges ||
                     (Challenges != null && Challenges.SequenceEqual(input.Challenges))
                 ) &&
                 (
                     OptionalUnlockStrings == input.OptionalUnlockStrings ||
                     (OptionalUnlockStrings != null && OptionalUnlockStrings.SequenceEqual(input.OptionalUnlockStrings))
                 ) &&
                 (
                     PlaylistItems == input.PlaylistItems ||
                     (PlaylistItems != null && PlaylistItems.SequenceEqual(input.PlaylistItems))
                 ) &&
                 (
                     ActivityGraphList == input.ActivityGraphList ||
                     (ActivityGraphList != null && ActivityGraphList.SequenceEqual(input.ActivityGraphList))
                 ) &&
                 (
                     Matchmaking == input.Matchmaking ||
                     (Matchmaking != null && Matchmaking.Equals(input.Matchmaking))
                 ) &&
                 (
                     GuidedGame == input.GuidedGame ||
                     (GuidedGame != null && GuidedGame.Equals(input.GuidedGame))
                 ) &&
                 (
                     DirectActivityModeHash == input.DirectActivityModeHash ||
                     (DirectActivityModeHash.Equals(input.DirectActivityModeHash))
                 ) &&
                 (
                     DirectActivityModeType == input.DirectActivityModeType ||
                     (DirectActivityModeType.Equals(input.DirectActivityModeType))
                 ) &&
                 (
                     Loadouts == input.Loadouts ||
                     (Loadouts != null && Loadouts.SequenceEqual(input.Loadouts))
                 ) &&
                 (
                     ActivityModeHashes == input.ActivityModeHashes ||
                     (ActivityModeHashes != null && ActivityModeHashes.SequenceEqual(input.ActivityModeHashes))
                 ) &&
                 (
                     ActivityModeTypes == input.ActivityModeTypes ||
                     (ActivityModeTypes != null && ActivityModeTypes.SequenceEqual(input.ActivityModeTypes))
                 ) &&
                 (
                     IsPvP == input.IsPvP ||
                     (IsPvP != null && IsPvP.Equals(input.IsPvP))
                 ) &&
                 (
                     InsertionPoints == input.InsertionPoints ||
                     (InsertionPoints != null && InsertionPoints.SequenceEqual(input.InsertionPoints))
                 ) &&
                 (
                     ActivityLocationMappings == input.ActivityLocationMappings ||
                     (ActivityLocationMappings != null && ActivityLocationMappings.SequenceEqual(input.ActivityLocationMappings))
                 ) &&
                 (
                     Hash == input.Hash ||
                     (Hash.Equals(input.Hash))
                 ) &&
                 (
                     Index == input.Index ||
                     (Index.Equals(input.Index))
                 ) &&
                 (
                     Redacted == input.Redacted ||
                     (Redacted != null && Redacted.Equals(input.Redacted))
                 ));
        }