Renamed TryFillContainerMapWithItem and changed output to better follow c# conventions

This commit is contained in:
Chomp
2025-08-15 11:24:10 +01:00
parent b1a3a36832
commit 07504d406e
6 changed files with 39 additions and 29 deletions
@@ -240,12 +240,13 @@ public class InventoryHelper(
{
try
{
containerFS2D.FillContainerMapWithItem(
containerFS2D.TryFillContainerMapWithItem(
findSlotResult.X.Value,
findSlotResult.Y.Value,
sizeX,
sizeY,
findSlotResult.Rotation.Value
findSlotResult.Rotation.Value,
out _
);
}
catch (Exception ex)
@@ -286,12 +287,13 @@ public class InventoryHelper(
{
try
{
containerFS2D.FillContainerMapWithItem(
containerFS2D.TryFillContainerMapWithItem(
findSlotResult.X.Value,
findSlotResult.Y.Value,
sizeX,
sizeY,
findSlotResult.Rotation.Value
findSlotResult.Rotation.Value,
out _
);
}
catch (Exception ex)
@@ -346,12 +348,13 @@ public class InventoryHelper(
{
try
{
stashFS2D.FillContainerMapWithItem(
stashFS2D.TryFillContainerMapWithItem(
findSlotResult.X.Value,
findSlotResult.Y.Value,
sizeX,
sizeY,
findSlotResult.Rotation.Value
findSlotResult.Rotation.Value,
out _
);
}
catch (Exception ex)
@@ -383,12 +386,13 @@ public class InventoryHelper(
try
{
sortingTableFS2D.FillContainerMapWithItem(
sortingTableFS2D.TryFillContainerMapWithItem(
findSortingSlotResult.X.Value,
findSortingSlotResult.Y.Value,
sizeX,
sizeY,
findSortingSlotResult.Rotation.Value
findSortingSlotResult.Rotation.Value,
out _
);
}
catch (Exception ex)