public bool DeepEquals(DestinyProfileResponse?other) { return(other is not null && (VendorReceipts is not null ? VendorReceipts.DeepEquals(other.VendorReceipts) : other.VendorReceipts is null) && (ProfileInventory is not null ? ProfileInventory.DeepEquals(other.ProfileInventory) : other.ProfileInventory is null) && (ProfileCurrencies is not null ? ProfileCurrencies.DeepEquals(other.ProfileCurrencies) : other.ProfileCurrencies is null) && (Profile is not null ? Profile.DeepEquals(other.Profile) : other.Profile is null) && (PlatformSilver is not null ? PlatformSilver.DeepEquals(other.PlatformSilver) : other.PlatformSilver is null) && (ProfileKiosks is not null ? ProfileKiosks.DeepEquals(other.ProfileKiosks) : other.ProfileKiosks is null) && (ProfilePlugSets is not null ? ProfilePlugSets.DeepEquals(other.ProfilePlugSets) : other.ProfilePlugSets is null) && (ProfileProgression is not null ? ProfileProgression.DeepEquals(other.ProfileProgression) : other.ProfileProgression is null) && (ProfilePresentationNodes is not null ? ProfilePresentationNodes.DeepEquals(other.ProfilePresentationNodes) : other.ProfilePresentationNodes is null) && (ProfileRecords is not null ? ProfileRecords.DeepEquals(other.ProfileRecords) : other.ProfileRecords is null) && (ProfileCollectibles is not null ? ProfileCollectibles.DeepEquals(other.ProfileCollectibles) : other.ProfileCollectibles is null) && (ProfileTransitoryData is not null ? ProfileTransitoryData.DeepEquals(other.ProfileTransitoryData) : other.ProfileTransitoryData is null) && (Metrics is not null ? Metrics.DeepEquals(other.Metrics) : other.Metrics is null) && (ProfileStringVariables is not null ? ProfileStringVariables.DeepEquals(other.ProfileStringVariables) : other.ProfileStringVariables is null) && (Characters is not null ? Characters.DeepEquals(other.Characters) : other.Characters is null) && (CharacterInventories is not null ? CharacterInventories.DeepEquals(other.CharacterInventories) : other.CharacterInventories is null) && (CharacterProgressions is not null ? CharacterProgressions.DeepEquals(other.CharacterProgressions) : other.CharacterProgressions is null) && (CharacterRenderData is not null ? CharacterRenderData.DeepEquals(other.CharacterRenderData) : other.CharacterRenderData is null) && (CharacterActivities is not null ? CharacterActivities.DeepEquals(other.CharacterActivities) : other.CharacterActivities is null) && (CharacterEquipment is not null ? CharacterEquipment.DeepEquals(other.CharacterEquipment) : other.CharacterEquipment is null) && (CharacterKiosks is not null ? CharacterKiosks.DeepEquals(other.CharacterKiosks) : other.CharacterKiosks is null) && (CharacterPlugSets is not null ? CharacterPlugSets.DeepEquals(other.CharacterPlugSets) : other.CharacterPlugSets is null) && CharacterUninstancedItemComponents.DeepEqualsDictionary(other.CharacterUninstancedItemComponents) && (CharacterPresentationNodes is not null ? CharacterPresentationNodes.DeepEquals(other.CharacterPresentationNodes) : other.CharacterPresentationNodes is null) && (CharacterRecords is not null ? CharacterRecords.DeepEquals(other.CharacterRecords) : other.CharacterRecords is null) && (CharacterCollectibles is not null ? CharacterCollectibles.DeepEquals(other.CharacterCollectibles) : other.CharacterCollectibles is null) && (CharacterStringVariables is not null ? CharacterStringVariables.DeepEquals(other.CharacterStringVariables) : other.CharacterStringVariables is null) && (ItemComponents is not null ? ItemComponents.DeepEquals(other.ItemComponents) : other.ItemComponents is null) && (CharacterCurrencyLookups is not null ? CharacterCurrencyLookups.DeepEquals(other.CharacterCurrencyLookups) : other.CharacterCurrencyLookups is null)); }
public bool Equals(DestinyVendorResponse input) { if (input == null) { return(false); } return (( Vendor == input.Vendor || (Vendor != null && Vendor.Equals(input.Vendor)) ) && ( Categories == input.Categories || (Categories != null && Categories.Equals(input.Categories)) ) && ( Sales == input.Sales || (Sales != null && Sales.Equals(input.Sales)) ) && ( ItemComponents == input.ItemComponents || (ItemComponents != null && ItemComponents.Equals(input.ItemComponents)) ) && ( CurrencyLookups == input.CurrencyLookups || (CurrencyLookups != null && CurrencyLookups.Equals(input.CurrencyLookups)) ) && ( StringVariables == input.StringVariables || (StringVariables != null && StringVariables.Equals(input.StringVariables)) )); }
private void RebuildComponentList() { Components.Clear(); ItemComponents.Clear(); int count = Settings.ItemList.Count; for (int i = 0; i < count; i++) { if (i == count - 1) { Components.Add(new SeparatorComponent()); } ItemTracker item = Settings.ItemList[i]; var itemComponent = new ItemTrackerComponent(CurrentState, Settings, item); Components.Add(itemComponent); ItemComponents.Add(itemComponent); if (i < count - 2) { Components.Add(new ThinSeparatorComponent()); } } }
/// <summary> /// Activate bomb text of the hexagon gameobject and set its bomb timer value to the text, /// </summary> /// <param name="bombInfo"></param> /// <param name="itemComponents"></param> private void ActivateBombText(BombInfo bombInfo, ItemComponents itemComponents) { Text text = itemComponents.text; text.enabled = true; text.text = bombInfo.bombLeftMove.ToString(); text.color = Color.black; }
public bool DeepEquals(DestinyVendorResponse?other) { return(other is not null && (Vendor is not null ? Vendor.DeepEquals(other.Vendor) : other.Vendor is null) && (Categories is not null ? Categories.DeepEquals(other.Categories) : other.Categories is null) && (Sales is not null ? Sales.DeepEquals(other.Sales) : other.Sales is null) && (ItemComponents is not null ? ItemComponents.DeepEquals(other.ItemComponents) : other.ItemComponents is null) && (CurrencyLookups is not null ? CurrencyLookups.DeepEquals(other.CurrencyLookups) : other.CurrencyLookups is null) && (StringVariables is not null ? StringVariables.DeepEquals(other.StringVariables) : other.StringVariables is null)); }
/// <summary> /// Set all hexagon element values to the hexagon gameobject components and activate gameobject. /// </summary> /// <param name="itemComponents"></param> /// <param name="toPosition"></param> /// <param name="matchType"></param> /// <param name="bombInfo"></param> private void SetNewType(ItemComponents itemComponents, Vector2 toPosition, MatchType matchType, BombInfo bombInfo = new BombInfo()) { itemComponents.explode.StopAllCoroutines(); itemComponents.touch.matchType = matchType; itemComponents.move.SetTransform(positionCalculator.CoordToAnchored(toPosition)); if (bombInfo.hasBomb) { Debug.Log("One bomb is dropped to the board!"); } SetUIValues(itemComponents, matchType, bombInfo); itemComponents.gameObject.SetActive(true); }
public bool DeepEquals(DestinyCharacterResponse?other) { return(other is not null && (Inventory is not null ? Inventory.DeepEquals(other.Inventory) : other.Inventory is null) && (Character is not null ? Character.DeepEquals(other.Character) : other.Character is null) && (Progressions is not null ? Progressions.DeepEquals(other.Progressions) : other.Progressions is null) && (RenderData is not null ? RenderData.DeepEquals(other.RenderData) : other.RenderData is null) && (Activities is not null ? Activities.DeepEquals(other.Activities) : other.Activities is null) && (Equipment is not null ? Equipment.DeepEquals(other.Equipment) : other.Equipment is null) && (Kiosks is not null ? Kiosks.DeepEquals(other.Kiosks) : other.Kiosks is null) && (PlugSets is not null ? PlugSets.DeepEquals(other.PlugSets) : other.PlugSets is null) && (PresentationNodes is not null ? PresentationNodes.DeepEquals(other.PresentationNodes) : other.PresentationNodes is null) && (Records is not null ? Records.DeepEquals(other.Records) : other.Records is null) && (Collectibles is not null ? Collectibles.DeepEquals(other.Collectibles) : other.Collectibles is null) && (ItemComponents is not null ? ItemComponents.DeepEquals(other.ItemComponents) : other.ItemComponents is null) && (UninstancedItemComponents is not null ? UninstancedItemComponents.DeepEquals(other.UninstancedItemComponents) : other.UninstancedItemComponents is null) && (CurrencyLookups is not null ? CurrencyLookups.DeepEquals(other.CurrencyLookups) : other.CurrencyLookups is null)); }
public void Update(DestinyVendorsResponse?other) { if (other is null) { return; } if (!VendorGroups.DeepEquals(other.VendorGroups)) { VendorGroups.Update(other.VendorGroups); OnPropertyChanged(nameof(VendorGroups)); } if (!Vendors.DeepEquals(other.Vendors)) { Vendors.Update(other.Vendors); OnPropertyChanged(nameof(Vendors)); } if (!Categories.DeepEquals(other.Categories)) { Categories.Update(other.Categories); OnPropertyChanged(nameof(Categories)); } if (!Sales.DeepEquals(other.Sales)) { Sales.Update(other.Sales); OnPropertyChanged(nameof(Sales)); } if (!ItemComponents.DeepEqualsDictionary(other.ItemComponents)) { ItemComponents = other.ItemComponents; OnPropertyChanged(nameof(ItemComponents)); } if (!CurrencyLookups.DeepEquals(other.CurrencyLookups)) { CurrencyLookups.Update(other.CurrencyLookups); OnPropertyChanged(nameof(CurrencyLookups)); } if (!StringVariables.DeepEquals(other.StringVariables)) { StringVariables.Update(other.StringVariables); OnPropertyChanged(nameof(StringVariables)); } }
/// <summary> /// Set UI components of the hexagon gameobjects like hesagon sprite, hexagon color, bomb text etc. /// </summary> /// <param name="itemComponents"></param> /// <param name="matchType"></param> /// <param name="bombInfo"></param> private void SetUIValues(ItemComponents itemComponents, MatchType matchType, BombInfo bombInfo) { if (itemComponents == null) { return; } Image image = itemComponents.image; image.sprite = matchTreeUIDataHolder.HexagonSprite; image.color = matchTreeUIDataHolder.SpriteColors[(int)matchType - 1]; if (bombInfo.hasBomb) { ActivateBombText(bombInfo, itemComponents); } else { Text text = itemComponents.text; text.enabled = false; } }
public void Update(DestinyProfileResponse?other) { if (other is null) { return; } if (!VendorReceipts.DeepEquals(other.VendorReceipts)) { VendorReceipts.Update(other.VendorReceipts); OnPropertyChanged(nameof(VendorReceipts)); } if (!ProfileInventory.DeepEquals(other.ProfileInventory)) { ProfileInventory.Update(other.ProfileInventory); OnPropertyChanged(nameof(ProfileInventory)); } if (!ProfileCurrencies.DeepEquals(other.ProfileCurrencies)) { ProfileCurrencies.Update(other.ProfileCurrencies); OnPropertyChanged(nameof(ProfileCurrencies)); } if (!Profile.DeepEquals(other.Profile)) { Profile.Update(other.Profile); OnPropertyChanged(nameof(Profile)); } if (!PlatformSilver.DeepEquals(other.PlatformSilver)) { PlatformSilver.Update(other.PlatformSilver); OnPropertyChanged(nameof(PlatformSilver)); } if (!ProfileKiosks.DeepEquals(other.ProfileKiosks)) { ProfileKiosks.Update(other.ProfileKiosks); OnPropertyChanged(nameof(ProfileKiosks)); } if (!ProfilePlugSets.DeepEquals(other.ProfilePlugSets)) { ProfilePlugSets.Update(other.ProfilePlugSets); OnPropertyChanged(nameof(ProfilePlugSets)); } if (!ProfileProgression.DeepEquals(other.ProfileProgression)) { ProfileProgression.Update(other.ProfileProgression); OnPropertyChanged(nameof(ProfileProgression)); } if (!ProfilePresentationNodes.DeepEquals(other.ProfilePresentationNodes)) { ProfilePresentationNodes.Update(other.ProfilePresentationNodes); OnPropertyChanged(nameof(ProfilePresentationNodes)); } if (!ProfileRecords.DeepEquals(other.ProfileRecords)) { ProfileRecords.Update(other.ProfileRecords); OnPropertyChanged(nameof(ProfileRecords)); } if (!ProfileCollectibles.DeepEquals(other.ProfileCollectibles)) { ProfileCollectibles.Update(other.ProfileCollectibles); OnPropertyChanged(nameof(ProfileCollectibles)); } if (!ProfileTransitoryData.DeepEquals(other.ProfileTransitoryData)) { ProfileTransitoryData.Update(other.ProfileTransitoryData); OnPropertyChanged(nameof(ProfileTransitoryData)); } if (!Metrics.DeepEquals(other.Metrics)) { Metrics.Update(other.Metrics); OnPropertyChanged(nameof(Metrics)); } if (!ProfileStringVariables.DeepEquals(other.ProfileStringVariables)) { ProfileStringVariables.Update(other.ProfileStringVariables); OnPropertyChanged(nameof(ProfileStringVariables)); } if (!Characters.DeepEquals(other.Characters)) { Characters.Update(other.Characters); OnPropertyChanged(nameof(Characters)); } if (!CharacterInventories.DeepEquals(other.CharacterInventories)) { CharacterInventories.Update(other.CharacterInventories); OnPropertyChanged(nameof(CharacterInventories)); } if (!CharacterProgressions.DeepEquals(other.CharacterProgressions)) { CharacterProgressions.Update(other.CharacterProgressions); OnPropertyChanged(nameof(CharacterProgressions)); } if (!CharacterRenderData.DeepEquals(other.CharacterRenderData)) { CharacterRenderData.Update(other.CharacterRenderData); OnPropertyChanged(nameof(CharacterRenderData)); } if (!CharacterActivities.DeepEquals(other.CharacterActivities)) { CharacterActivities.Update(other.CharacterActivities); OnPropertyChanged(nameof(CharacterActivities)); } if (!CharacterEquipment.DeepEquals(other.CharacterEquipment)) { CharacterEquipment.Update(other.CharacterEquipment); OnPropertyChanged(nameof(CharacterEquipment)); } if (!CharacterKiosks.DeepEquals(other.CharacterKiosks)) { CharacterKiosks.Update(other.CharacterKiosks); OnPropertyChanged(nameof(CharacterKiosks)); } if (!CharacterPlugSets.DeepEquals(other.CharacterPlugSets)) { CharacterPlugSets.Update(other.CharacterPlugSets); OnPropertyChanged(nameof(CharacterPlugSets)); } if (!CharacterUninstancedItemComponents.DeepEqualsDictionary(other.CharacterUninstancedItemComponents)) { CharacterUninstancedItemComponents = other.CharacterUninstancedItemComponents; OnPropertyChanged(nameof(CharacterUninstancedItemComponents)); } if (!CharacterPresentationNodes.DeepEquals(other.CharacterPresentationNodes)) { CharacterPresentationNodes.Update(other.CharacterPresentationNodes); OnPropertyChanged(nameof(CharacterPresentationNodes)); } if (!CharacterRecords.DeepEquals(other.CharacterRecords)) { CharacterRecords.Update(other.CharacterRecords); OnPropertyChanged(nameof(CharacterRecords)); } if (!CharacterCollectibles.DeepEquals(other.CharacterCollectibles)) { CharacterCollectibles.Update(other.CharacterCollectibles); OnPropertyChanged(nameof(CharacterCollectibles)); } if (!CharacterStringVariables.DeepEquals(other.CharacterStringVariables)) { CharacterStringVariables.Update(other.CharacterStringVariables); OnPropertyChanged(nameof(CharacterStringVariables)); } if (!ItemComponents.DeepEquals(other.ItemComponents)) { ItemComponents.Update(other.ItemComponents); OnPropertyChanged(nameof(ItemComponents)); } if (!CharacterCurrencyLookups.DeepEquals(other.CharacterCurrencyLookups)) { CharacterCurrencyLookups.Update(other.CharacterCurrencyLookups); OnPropertyChanged(nameof(CharacterCurrencyLookups)); } }
public void Clean(Game game) { foreach (var component in LevelComponents.Where(b => b.GameId == game.Id)) { LevelComponents.Remove(component); } foreach (var branch in Branches.Where(b => b.GameId == game.Id)) { Branches.Remove(branch); } foreach (var logEntry in LogEntries.Where(e => e.GameId == game.Id)) { LogEntries.Remove(logEntry); } foreach (var playerCommand in PlayerCommands.Where(b => b.GameId == game.Id)) { PlayerCommands.Remove(playerCommand); } foreach (var abilityComponent in AbilityComponents.Where(b => b.GameId == game.Id)) { AbilityComponents.Remove(abilityComponent); } foreach (var aiComponent in AIComponents.Where(b => b.GameId == game.Id)) { AIComponents.Remove(aiComponent); } foreach (var playerComponent in PlayerComponents.Where(b => b.GameId == game.Id)) { PlayerComponents.Remove(playerComponent); } foreach (var beingComponent in BeingComponents.Where(b => b.GameId == game.Id)) { BeingComponents.Remove(beingComponent); } foreach (var physicalComponent in PhysicalComponents.Where(b => b.GameId == game.Id)) { PhysicalComponents.Remove(physicalComponent); } foreach (var raceComponent in RaceComponents.Where(b => b.GameId == game.Id)) { RaceComponents.Remove(raceComponent); } foreach (var effectComponent in EffectComponents.Where(b => b.GameId == game.Id)) { EffectComponents.Remove(effectComponent); } foreach (var itemComponent in ItemComponents.Where(b => b.GameId == game.Id)) { ItemComponents.Remove(itemComponent); } foreach (var knowledgeComponent in KnowledgeComponents.Where(b => b.GameId == game.Id)) { KnowledgeComponents.Remove(knowledgeComponent); } foreach (var connectionComponent in ConnectionComponents.Where(b => b.GameId == game.Id)) { ConnectionComponents.Remove(connectionComponent); } foreach (var positionComponent in PositionComponents.Where(b => b.GameId == game.Id)) { PositionComponents.Remove(positionComponent); } foreach (var sensorComponent in SensorComponents.Where(b => b.GameId == game.Id)) { SensorComponents.Remove(sensorComponent); } game.ActingPlayerId = null; SaveChanges(); Games.Remove(game); SaveChanges(); }
public bool Equals(DestinyProfileResponse input) { if (input == null) { return(false); } return (( VendorReceipts == input.VendorReceipts || (VendorReceipts != null && VendorReceipts.Equals(input.VendorReceipts)) ) && ( ProfileInventory == input.ProfileInventory || (ProfileInventory != null && ProfileInventory.Equals(input.ProfileInventory)) ) && ( ProfileCurrencies == input.ProfileCurrencies || (ProfileCurrencies != null && ProfileCurrencies.Equals(input.ProfileCurrencies)) ) && ( Profile == input.Profile || (Profile != null && Profile.Equals(input.Profile)) ) && ( PlatformSilver == input.PlatformSilver || (PlatformSilver != null && PlatformSilver.Equals(input.PlatformSilver)) ) && ( ProfileKiosks == input.ProfileKiosks || (ProfileKiosks != null && ProfileKiosks.Equals(input.ProfileKiosks)) ) && ( ProfilePlugSets == input.ProfilePlugSets || (ProfilePlugSets != null && ProfilePlugSets.Equals(input.ProfilePlugSets)) ) && ( ProfileProgression == input.ProfileProgression || (ProfileProgression != null && ProfileProgression.Equals(input.ProfileProgression)) ) && ( ProfilePresentationNodes == input.ProfilePresentationNodes || (ProfilePresentationNodes != null && ProfilePresentationNodes.Equals(input.ProfilePresentationNodes)) ) && ( ProfileRecords == input.ProfileRecords || (ProfileRecords != null && ProfileRecords.Equals(input.ProfileRecords)) ) && ( ProfileCollectibles == input.ProfileCollectibles || (ProfileCollectibles != null && ProfileCollectibles.Equals(input.ProfileCollectibles)) ) && ( ProfileTransitoryData == input.ProfileTransitoryData || (ProfileTransitoryData != null && ProfileTransitoryData.Equals(input.ProfileTransitoryData)) ) && ( Metrics == input.Metrics || (Metrics != null && Metrics.Equals(input.Metrics)) ) && ( ProfileStringVariables == input.ProfileStringVariables || (ProfileStringVariables != null && ProfileStringVariables.Equals(input.ProfileStringVariables)) ) && ( Characters == input.Characters || (Characters != null && Characters.Equals(input.Characters)) ) && ( CharacterInventories == input.CharacterInventories || (CharacterInventories != null && CharacterInventories.Equals(input.CharacterInventories)) ) && ( CharacterProgressions == input.CharacterProgressions || (CharacterProgressions != null && CharacterProgressions.Equals(input.CharacterProgressions)) ) && ( CharacterRenderData == input.CharacterRenderData || (CharacterRenderData != null && CharacterRenderData.Equals(input.CharacterRenderData)) ) && ( CharacterActivities == input.CharacterActivities || (CharacterActivities != null && CharacterActivities.Equals(input.CharacterActivities)) ) && ( CharacterEquipment == input.CharacterEquipment || (CharacterEquipment != null && CharacterEquipment.Equals(input.CharacterEquipment)) ) && ( CharacterKiosks == input.CharacterKiosks || (CharacterKiosks != null && CharacterKiosks.Equals(input.CharacterKiosks)) ) && ( CharacterPlugSets == input.CharacterPlugSets || (CharacterPlugSets != null && CharacterPlugSets.Equals(input.CharacterPlugSets)) ) && ( CharacterUninstancedItemComponents == input.CharacterUninstancedItemComponents || (CharacterUninstancedItemComponents != null && CharacterUninstancedItemComponents.SequenceEqual(input.CharacterUninstancedItemComponents)) ) && ( CharacterPresentationNodes == input.CharacterPresentationNodes || (CharacterPresentationNodes != null && CharacterPresentationNodes.Equals(input.CharacterPresentationNodes)) ) && ( CharacterRecords == input.CharacterRecords || (CharacterRecords != null && CharacterRecords.Equals(input.CharacterRecords)) ) && ( CharacterCollectibles == input.CharacterCollectibles || (CharacterCollectibles != null && CharacterCollectibles.Equals(input.CharacterCollectibles)) ) && ( CharacterStringVariables == input.CharacterStringVariables || (CharacterStringVariables != null && CharacterStringVariables.Equals(input.CharacterStringVariables)) ) && ( ItemComponents == input.ItemComponents || (ItemComponents != null && ItemComponents.Equals(input.ItemComponents)) ) && ( CharacterCurrencyLookups == input.CharacterCurrencyLookups || (CharacterCurrencyLookups != null && CharacterCurrencyLookups.Equals(input.CharacterCurrencyLookups)) )); }
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 bool Equals(DestinyCharacterResponse input) { if (input == null) { return(false); } return (( Inventory == input.Inventory || (Inventory != null && Inventory.Equals(input.Inventory)) ) && ( Character == input.Character || (Character != null && Character.Equals(input.Character)) ) && ( Progressions == input.Progressions || (Progressions != null && Progressions.Equals(input.Progressions)) ) && ( RenderData == input.RenderData || (RenderData != null && RenderData.Equals(input.RenderData)) ) && ( Activities == input.Activities || (Activities != null && Activities.Equals(input.Activities)) ) && ( Equipment == input.Equipment || (Equipment != null && Equipment.Equals(input.Equipment)) ) && ( Kiosks == input.Kiosks || (Kiosks != null && Kiosks.Equals(input.Kiosks)) ) && ( PlugSets == input.PlugSets || (PlugSets != null && PlugSets.Equals(input.PlugSets)) ) && ( PresentationNodes == input.PresentationNodes || (PresentationNodes != null && PresentationNodes.Equals(input.PresentationNodes)) ) && ( Records == input.Records || (Records != null && Records.Equals(input.Records)) ) && ( Collectibles == input.Collectibles || (Collectibles != null && Collectibles.Equals(input.Collectibles)) ) && ( ItemComponents == input.ItemComponents || (ItemComponents != null && ItemComponents.Equals(input.ItemComponents)) ) && ( UninstancedItemComponents == input.UninstancedItemComponents || (UninstancedItemComponents != null && UninstancedItemComponents.Equals(input.UninstancedItemComponents)) ) && ( CurrencyLookups == input.CurrencyLookups || (CurrencyLookups != null && CurrencyLookups.Equals(input.CurrencyLookups)) )); }