Example #1
0
 public void MapValues()
 {
     DisplayItem.TryMapValue();
     Faction.TryMapValue();
     foreach (var category in Categories)
     {
         category.Overlay?.CurrencyItem.TryMapValue();
     }
     foreach (var category in OriginalCategories)
     {
         category.Overlay?.CurrencyItem.TryMapValue();
     }
     foreach (var category in DisplayCategories)
     {
         category.Progression.TryMapValue();
     }
     foreach (var interaction in Interactions)
     {
         interaction.QuestlineItem.TryMapValue();
     }
     foreach (var flyout in InventoryFlyouts)
     {
         flyout.EquipmentSlot.TryMapValue();
         foreach (var bucket in flyout.Buckets)
         {
             bucket.InventoryBucket.TryMapValue();
         }
     }
     foreach (var item in ItemList)
     {
         item.Item.TryMapValue();
         foreach (var currency in item.Currencies)
         {
             currency.Item.TryMapValue();
         }
         item.InventoryBucket.TryMapValue();
         foreach (var socketOverride in item.SocketOverrides)
         {
             socketOverride.SingleItem.TryMapValue();
             socketOverride.SocketType.TryMapValue();
         }
     }
     foreach (var item in AcceptedItems)
     {
         item.AcceptedInventoryBucket.TryMapValue();
         item.DestinationInventoryBucket.TryMapValue();
     }
     foreach (var location in Locations)
     {
         location.Destination.TryMapValue();
     }
     foreach (var group in Groups)
     {
         group.Group.TryMapValue();
     }
     foreach (var item in IgnoreSaleItems)
     {
         item.TryMapValue();
     }
 }