diff --git a/AetherBags/Inventory/Scanning/InventoryScanner.cs b/AetherBags/Inventory/Scanning/InventoryScanner.cs index 43a8858..c6a0971 100644 --- a/AetherBags/Inventory/Scanning/InventoryScanner.cs +++ b/AetherBags/Inventory/Scanning/InventoryScanner.cs @@ -7,14 +7,6 @@ namespace AetherBags.Inventory.Scanning; public static unsafe class InventoryScanner { - private static readonly InventoryType[] BagInventories = - [ - InventoryType.Inventory1, - InventoryType.Inventory2, - InventoryType.Inventory3, - InventoryType.Inventory4, - ]; - public static readonly InventoryType[] StandardInventories = [ InventoryType.Inventory1, @@ -47,15 +39,8 @@ public static unsafe class InventoryScanner public static ulong MakeNaturalSlotKey(InventoryType container, int slot) => ((ulong)(uint)container << 32) | (uint)slot; - // Backwards compatible TODO: Remove - public static void ScanBags( - FFXIVClientStructs.FFXIV.Client.Game.InventoryManager* inventoryManager, - InventoryStackMode stackMode, - Dictionary aggByKey) - => ScanInventories(inventoryManager, stackMode, aggByKey, InventorySourceType.MainBags); - public static void ScanInventories( - FFXIVClientStructs.FFXIV.Client.Game.InventoryManager* inventoryManager, + InventoryManager* inventoryManager, InventoryStackMode stackMode, Dictionary aggByKey, InventorySourceType source) @@ -195,10 +180,6 @@ public static unsafe class InventoryScanner return InventoryLocation.Invalid; } - // Backwards compability TODO: Remove - public static string GetEmptyItemSlotsString() - => GetEmptySlotsString(InventorySourceType. MainBags); - public static string GetEmptySlotsString(InventorySourceType source) { int total = InventorySourceDefinitions.GetTotalSlots(source); diff --git a/AetherBags/Inventory/State/InventoryState.cs b/AetherBags/Inventory/State/InventoryState.cs index 2589469..17bdebc 100644 --- a/AetherBags/Inventory/State/InventoryState.cs +++ b/AetherBags/Inventory/State/InventoryState.cs @@ -67,9 +67,6 @@ public static unsafe class InventoryState }; } - public static string GetEmptyItemSlotsString() - => InventoryScanner.GetEmptyItemSlotsString(); - public static IReadOnlyList GetCurrencyInfoList(uint[] currencyIds) => CurrencyState.GetCurrencyInfoList(currencyIds);