Part 2 of list to ienumerable

This commit is contained in:
Chomp
2025-07-23 15:55:28 +01:00
parent 0faa65a560
commit a1e0dadd08
29 changed files with 166 additions and 162 deletions
@@ -624,8 +624,8 @@ public class LocationLootGenerator(
);
// Update root item properties with result of position finder
items[0].SlotId = "main";
items[0].Location = new ItemLocation
items.First().SlotId = "main";
items.First().Location = new ItemLocation
{
X = result.X,
Y = result.Y,
@@ -1460,7 +1460,7 @@ public record ContainerGroupCount
public class ContainerItem
{
[JsonPropertyName("items")]
public List<Item>? Items { get; set; }
public IEnumerable<Item>? Items { get; set; }
[JsonPropertyName("width")]
public int? Width { get; set; }