コード例 #1
0
 public bool DeepEquals(DestinyVendorDefinition other)
 {
     return(other != null &&
            DisplayProperties.DeepEquals(other.DisplayProperties) &&
            VendorProgressionType == other.VendorProgressionType &&
            BuyString == other.BuyString &&
            SellString == other.SellString &&
            DisplayItem.DeepEquals(other.DisplayItem) &&
            InhibitBuying == other.InhibitBuying &&
            InhibitSelling == other.InhibitSelling &&
            Faction.DeepEquals(other.Faction) &&
            ResetIntervalMinutes == other.ResetIntervalMinutes &&
            ResetOffsetMinutes == other.ResetOffsetMinutes &&
            FailureStrings.DeepEqualsReadOnlySimpleCollection(other.FailureStrings) &&
            UnlockRanges.DeepEqualsReadOnlyCollections(other.UnlockRanges) &&
            VendorIdentifier == other.VendorIdentifier &&
            VendorPortrait == other.VendorPortrait &&
            VendorBanner == other.VendorBanner &&
            Enabled == other.Enabled &&
            Visible == other.Visible &&
            VendorSubcategoryIdentifier == other.VendorSubcategoryIdentifier &&
            ConsolidateCategories == other.ConsolidateCategories &&
            Actions.DeepEqualsReadOnlyCollections(other.Actions) &&
            Categories.DeepEqualsReadOnlyCollections(other.Categories) &&
            OriginalCategories.DeepEqualsReadOnlyCollections(other.OriginalCategories) &&
            DisplayCategories.DeepEqualsReadOnlyCollections(other.DisplayCategories) &&
            Interactions.DeepEqualsReadOnlyCollections(other.Interactions) &&
            InventoryFlyouts.DeepEqualsReadOnlyCollections(other.InventoryFlyouts) &&
            ItemList.DeepEqualsReadOnlyCollections(other.ItemList) &&
            Services.DeepEqualsReadOnlyCollections(other.Services) &&
            AcceptedItems.DeepEqualsReadOnlyCollections(other.AcceptedItems) &&
            ReturnWithVendorRequest == other.ReturnWithVendorRequest &&
            Locations.DeepEqualsReadOnlyCollections(other.Locations) &&
            Groups.DeepEqualsReadOnlyCollections(other.Groups) &&
            IgnoreSaleItems.DeepEqualsReadOnlyCollections(other.IgnoreSaleItems) &&
            UnlockValueHash == other.UnlockValueHash &&
            Blacklisted == other.Blacklisted &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }