public bool Equals(DestinyItemInventoryBlockDefinition input) { if (input == null) { return(false); } return (( StackUniqueLabel == input.StackUniqueLabel || (StackUniqueLabel != null && StackUniqueLabel.Equals(input.StackUniqueLabel)) ) && ( MaxStackSize == input.MaxStackSize || (MaxStackSize.Equals(input.MaxStackSize)) ) && ( BucketTypeHash == input.BucketTypeHash || (BucketTypeHash.Equals(input.BucketTypeHash)) ) && ( RecoveryBucketTypeHash == input.RecoveryBucketTypeHash || (RecoveryBucketTypeHash.Equals(input.RecoveryBucketTypeHash)) ) && ( TierTypeHash == input.TierTypeHash || (TierTypeHash.Equals(input.TierTypeHash)) ) && ( IsInstanceItem == input.IsInstanceItem || (IsInstanceItem != null && IsInstanceItem.Equals(input.IsInstanceItem)) ) && ( TierTypeName == input.TierTypeName || (TierTypeName != null && TierTypeName.Equals(input.TierTypeName)) ) && ( TierType == input.TierType || (TierType != null && TierType.Equals(input.TierType)) ) && ( ExpirationTooltip == input.ExpirationTooltip || (ExpirationTooltip != null && ExpirationTooltip.Equals(input.ExpirationTooltip)) ) && ( ExpiredInActivityMessage == input.ExpiredInActivityMessage || (ExpiredInActivityMessage != null && ExpiredInActivityMessage.Equals(input.ExpiredInActivityMessage)) ) && ( ExpiredInOrbitMessage == input.ExpiredInOrbitMessage || (ExpiredInOrbitMessage != null && ExpiredInOrbitMessage.Equals(input.ExpiredInOrbitMessage)) ) && ( SuppressExpirationWhenObjectivesComplete == input.SuppressExpirationWhenObjectivesComplete || (SuppressExpirationWhenObjectivesComplete != null && SuppressExpirationWhenObjectivesComplete.Equals(input.SuppressExpirationWhenObjectivesComplete)) )); }
public bool Equals(DestinyVendorItemDefinition input) { if (input == null) { return(false); } return (( VendorItemIndex == input.VendorItemIndex || (VendorItemIndex.Equals(input.VendorItemIndex)) ) && ( ItemHash == input.ItemHash || (ItemHash.Equals(input.ItemHash)) ) && ( Quantity == input.Quantity || (Quantity.Equals(input.Quantity)) ) && ( FailureIndexes == input.FailureIndexes || (FailureIndexes != null && FailureIndexes.SequenceEqual(input.FailureIndexes)) ) && ( Currencies == input.Currencies || (Currencies != null && Currencies.SequenceEqual(input.Currencies)) ) && ( RefundPolicy == input.RefundPolicy || (RefundPolicy != null && RefundPolicy.Equals(input.RefundPolicy)) ) && ( RefundTimeLimit == input.RefundTimeLimit || (RefundTimeLimit.Equals(input.RefundTimeLimit)) ) && ( CreationLevels == input.CreationLevels || (CreationLevels != null && CreationLevels.SequenceEqual(input.CreationLevels)) ) && ( DisplayCategoryIndex == input.DisplayCategoryIndex || (DisplayCategoryIndex.Equals(input.DisplayCategoryIndex)) ) && ( CategoryIndex == input.CategoryIndex || (CategoryIndex.Equals(input.CategoryIndex)) ) && ( OriginalCategoryIndex == input.OriginalCategoryIndex || (OriginalCategoryIndex.Equals(input.OriginalCategoryIndex)) ) && ( MinimumLevel == input.MinimumLevel || (MinimumLevel.Equals(input.MinimumLevel)) ) && ( MaximumLevel == input.MaximumLevel || (MaximumLevel.Equals(input.MaximumLevel)) ) && ( Action == input.Action || (Action != null && Action.Equals(input.Action)) ) && ( DisplayCategory == input.DisplayCategory || (DisplayCategory != null && DisplayCategory.Equals(input.DisplayCategory)) ) && ( InventoryBucketHash == input.InventoryBucketHash || (InventoryBucketHash.Equals(input.InventoryBucketHash)) ) && ( VisibilityScope == input.VisibilityScope || (VisibilityScope != null && VisibilityScope.Equals(input.VisibilityScope)) ) && ( PurchasableScope == input.PurchasableScope || (PurchasableScope != null && PurchasableScope.Equals(input.PurchasableScope)) ) && ( Exclusivity == input.Exclusivity || (Exclusivity != null && Exclusivity.Equals(input.Exclusivity)) ) && ( IsOffer == input.IsOffer || (IsOffer != null && IsOffer.Equals(input.IsOffer)) ) && ( IsCrm == input.IsCrm || (IsCrm != null && IsCrm.Equals(input.IsCrm)) ) && ( SortValue == input.SortValue || (SortValue.Equals(input.SortValue)) ) && ( ExpirationTooltip == input.ExpirationTooltip || (ExpirationTooltip != null && ExpirationTooltip.Equals(input.ExpirationTooltip)) ) && ( RedirectToSaleIndexes == input.RedirectToSaleIndexes || (RedirectToSaleIndexes != null && RedirectToSaleIndexes.SequenceEqual(input.RedirectToSaleIndexes)) ) && ( SocketOverrides == input.SocketOverrides || (SocketOverrides != null && SocketOverrides.SequenceEqual(input.SocketOverrides)) ) && ( Unpurchasable == input.Unpurchasable || (Unpurchasable != null && Unpurchasable.Equals(input.Unpurchasable)) )); }