public bool DeepEquals(DestinyProgressionLevelRequirementDefinition other)
 {
     return(other != null &&
            Progression.DeepEquals(other.Progression) &&
            RequirementCurve.DeepEqualsReadOnlyCollections(other.RequirementCurve) &&
            Blacklisted == other.Blacklisted &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
 public bool DeepEquals(DestinyVendorComponent?other)
 {
     return(other is not null &&
            CanPurchase == other.CanPurchase &&
            (Progression is not null ? Progression.DeepEquals(other.Progression) : other.Progression is null) &&
            VendorLocationIndex == other.VendorLocationIndex &&
            SeasonalRank == other.SeasonalRank &&
            VendorHash == other.VendorHash &&
            NextRefreshDate == other.NextRefreshDate &&
            Enabled == other.Enabled);
 }
Пример #3
0
 public bool DeepEquals(VendorDisplayCategory other)
 {
     return(other != null &&
            Index == other.Index &&
            Identifier == other.Identifier &&
            DisplayCategoryHash == other.DisplayCategoryHash &&
            DisplayProperties.DeepEquals(other.DisplayProperties) &&
            DisplayInBanner == other.DisplayInBanner &&
            Progression.DeepEquals(other.Progression) &&
            SortOrder == other.SortOrder &&
            DisplayStyleHash == other.DisplayStyleHash &&
            DisplayStyleIdentifier == other.DisplayStyleIdentifier);
 }
 public bool DeepEquals(DestinyFactionDefinition other)
 {
     return(other != null &&
            DisplayProperties.DeepEquals(other.DisplayProperties) &&
            Progression.DeepEquals(other.Progression) &&
            RewardItem.DeepEquals(other.RewardItem) &&
            RewardVendor.DeepEquals(other.RewardVendor) &&
            TokenValues.DeepEqualsReadOnlyDictionaryWithDefinitionKeyAndSimpleValue(other.TokenValues) &&
            Vendors.DeepEqualsReadOnlyCollections(other.Vendors) &&
            Blacklisted == other.Blacklisted &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
Пример #5
0
 public bool DeepEquals(DestinyTalentGridDefinition other)
 {
     return(other != null &&
            ExclusiveSets.DeepEqualsReadOnlyCollections(other.ExclusiveSets) &&
            CalcMaxGridLevel == other.CalcMaxGridLevel &&
            CalcProgressToMaxLevel == other.CalcProgressToMaxLevel &&
            GridLevelPerColumn == other.GridLevelPerColumn &&
            Groups.DeepEqualsReadOnlyDictionaryWithSimpleKeyAndEquatableValue(other.Groups) &&
            IndependentNodeIndexes.DeepEqualsReadOnlySimpleCollection(other.IndependentNodeIndexes) &&
            MaxGridLevel == other.MaxGridLevel &&
            MaximumRandomMaterialRequirements == other.MaximumRandomMaterialRequirements &&
            NodeCategories.DeepEqualsReadOnlyCollections(other.NodeCategories) &&
            Nodes.DeepEqualsReadOnlyCollections(other.Nodes) &&
            Progression.DeepEquals(other.Progression) &&
            Blacklisted == other.Blacklisted &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }
 public void Update(DestinyVendorComponent?other)
 {
     if (other is null)
     {
         return;
     }
     if (CanPurchase != other.CanPurchase)
     {
         CanPurchase = other.CanPurchase;
         OnPropertyChanged(nameof(CanPurchase));
     }
     if (!Progression.DeepEquals(other.Progression))
     {
         Progression.Update(other.Progression);
         OnPropertyChanged(nameof(Progression));
     }
     if (VendorLocationIndex != other.VendorLocationIndex)
     {
         VendorLocationIndex = other.VendorLocationIndex;
         OnPropertyChanged(nameof(VendorLocationIndex));
     }
     if (SeasonalRank != other.SeasonalRank)
     {
         SeasonalRank = other.SeasonalRank;
         OnPropertyChanged(nameof(SeasonalRank));
     }
     if (VendorHash != other.VendorHash)
     {
         VendorHash = other.VendorHash;
         OnPropertyChanged(nameof(VendorHash));
     }
     if (NextRefreshDate != other.NextRefreshDate)
     {
         NextRefreshDate = other.NextRefreshDate;
         OnPropertyChanged(nameof(NextRefreshDate));
     }
     if (Enabled != other.Enabled)
     {
         Enabled = other.Enabled;
         OnPropertyChanged(nameof(Enabled));
     }
 }