public void Update(DestinyItemComponentSetOfint64?other) { if (other is null) { return; } if (!Instances.DeepEquals(other.Instances)) { Instances.Update(other.Instances); OnPropertyChanged(nameof(Instances)); } if (!RenderData.DeepEquals(other.RenderData)) { RenderData.Update(other.RenderData); OnPropertyChanged(nameof(RenderData)); } if (!Stats.DeepEquals(other.Stats)) { Stats.Update(other.Stats); OnPropertyChanged(nameof(Stats)); } if (!Sockets.DeepEquals(other.Sockets)) { Sockets.Update(other.Sockets); OnPropertyChanged(nameof(Sockets)); } if (!ReusablePlugs.DeepEquals(other.ReusablePlugs)) { ReusablePlugs.Update(other.ReusablePlugs); OnPropertyChanged(nameof(ReusablePlugs)); } if (!PlugObjectives.DeepEquals(other.PlugObjectives)) { PlugObjectives.Update(other.PlugObjectives); OnPropertyChanged(nameof(PlugObjectives)); } if (!TalentGrids.DeepEquals(other.TalentGrids)) { TalentGrids.Update(other.TalentGrids); OnPropertyChanged(nameof(TalentGrids)); } if (!PlugStates.DeepEquals(other.PlugStates)) { PlugStates.Update(other.PlugStates); OnPropertyChanged(nameof(PlugStates)); } if (!Objectives.DeepEquals(other.Objectives)) { Objectives.Update(other.Objectives); OnPropertyChanged(nameof(Objectives)); } if (!Perks.DeepEquals(other.Perks)) { Perks.Update(other.Perks); OnPropertyChanged(nameof(Perks)); } }
public void Update(DestinyCharacterResponse?other) { if (other is null) { return; } if (!Inventory.DeepEquals(other.Inventory)) { Inventory.Update(other.Inventory); OnPropertyChanged(nameof(Inventory)); } if (!Character.DeepEquals(other.Character)) { Character.Update(other.Character); OnPropertyChanged(nameof(Character)); } if (!Progressions.DeepEquals(other.Progressions)) { Progressions.Update(other.Progressions); OnPropertyChanged(nameof(Progressions)); } if (!RenderData.DeepEquals(other.RenderData)) { RenderData.Update(other.RenderData); OnPropertyChanged(nameof(RenderData)); } if (!Activities.DeepEquals(other.Activities)) { Activities.Update(other.Activities); OnPropertyChanged(nameof(Activities)); } if (!Equipment.DeepEquals(other.Equipment)) { Equipment.Update(other.Equipment); OnPropertyChanged(nameof(Equipment)); } if (!Kiosks.DeepEquals(other.Kiosks)) { Kiosks.Update(other.Kiosks); OnPropertyChanged(nameof(Kiosks)); } if (!PlugSets.DeepEquals(other.PlugSets)) { PlugSets.Update(other.PlugSets); OnPropertyChanged(nameof(PlugSets)); } if (!PresentationNodes.DeepEquals(other.PresentationNodes)) { PresentationNodes.Update(other.PresentationNodes); OnPropertyChanged(nameof(PresentationNodes)); } if (!Records.DeepEquals(other.Records)) { Records.Update(other.Records); OnPropertyChanged(nameof(Records)); } if (!Collectibles.DeepEquals(other.Collectibles)) { Collectibles.Update(other.Collectibles); OnPropertyChanged(nameof(Collectibles)); } if (!ItemComponents.DeepEquals(other.ItemComponents)) { ItemComponents.Update(other.ItemComponents); OnPropertyChanged(nameof(ItemComponents)); } if (!UninstancedItemComponents.DeepEquals(other.UninstancedItemComponents)) { UninstancedItemComponents.Update(other.UninstancedItemComponents); OnPropertyChanged(nameof(UninstancedItemComponents)); } if (!CurrencyLookups.DeepEquals(other.CurrencyLookups)) { CurrencyLookups.Update(other.CurrencyLookups); OnPropertyChanged(nameof(CurrencyLookups)); } }
public void Update(DestinyItemResponse?other) { if (other is null) { return; } if (CharacterId != other.CharacterId) { CharacterId = other.CharacterId; OnPropertyChanged(nameof(CharacterId)); } if (!Item.DeepEquals(other.Item)) { Item.Update(other.Item); OnPropertyChanged(nameof(Item)); } if (!Instance.DeepEquals(other.Instance)) { Instance.Update(other.Instance); OnPropertyChanged(nameof(Instance)); } if (!Objectives.DeepEquals(other.Objectives)) { Objectives.Update(other.Objectives); OnPropertyChanged(nameof(Objectives)); } if (!Perks.DeepEquals(other.Perks)) { Perks.Update(other.Perks); OnPropertyChanged(nameof(Perks)); } if (!RenderData.DeepEquals(other.RenderData)) { RenderData.Update(other.RenderData); OnPropertyChanged(nameof(RenderData)); } if (!Stats.DeepEquals(other.Stats)) { Stats.Update(other.Stats); OnPropertyChanged(nameof(Stats)); } if (!TalentGrid.DeepEquals(other.TalentGrid)) { TalentGrid.Update(other.TalentGrid); OnPropertyChanged(nameof(TalentGrid)); } if (!Sockets.DeepEquals(other.Sockets)) { Sockets.Update(other.Sockets); OnPropertyChanged(nameof(Sockets)); } if (!ReusablePlugs.DeepEquals(other.ReusablePlugs)) { ReusablePlugs.Update(other.ReusablePlugs); OnPropertyChanged(nameof(ReusablePlugs)); } if (!PlugObjectives.DeepEquals(other.PlugObjectives)) { PlugObjectives.Update(other.PlugObjectives); OnPropertyChanged(nameof(PlugObjectives)); } }