public bool Equals(DestinyVendorCategory input) { if (input == null) { return(false); } return (( DisplayCategoryIndex == input.DisplayCategoryIndex || (DisplayCategoryIndex.Equals(input.DisplayCategoryIndex)) ) && ( ItemIndexes == input.ItemIndexes || (ItemIndexes != null && ItemIndexes.SequenceEqual(input.ItemIndexes)) )); }
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)) )); }