feat: info free slots/total slots

This commit is contained in:
Salikh Gurgenidze
2025-11-16 20:29:05 +04:00
parent 58d4d005e4
commit 99f65a41d4
5 changed files with 201 additions and 5 deletions
+4
View File
@@ -10,10 +10,14 @@ addon.Modules.BagScanner = BagScanner
function BagScanner:ScanBags()
local bagData = {}
-- Scan regular bags
for _, bagID in ipairs(addon.Constants.BAGS) do
bagData[bagID] = self:ScanBag(bagID)
end
-- Also scan keyring (bagID -2)
bagData[-2] = self:ScanBag(-2)
return bagData
end