update bags add JunkIcon and QuestIcon to bags

This commit is contained in:
Crum
2018-11-30 20:58:20 -06:00
parent 3ebbb323a4
commit 3b9951d1b9
8 changed files with 793 additions and 284 deletions
+17
View File
@@ -32,6 +32,7 @@ local TIMEMANAGER_PM = gsub(TIME_TWELVEHOURPM, "^.-(%w+)$", "%1")
local LBC = LibStub("LibBabble-Class-3.0"):GetLookupTable()
local LBZ = LibStub("LibBabble-Zone-3.0"):GetLookupTable()
local IFDB = LibStub("ItemFamilyDB")
local QIS = LibStub("QuestItemStarterDB")
CLASS_SORT_ORDER = {
"WARRIOR",
@@ -559,6 +560,22 @@ function GetThreatStatus(currentThreat, maxThreat)
end
end
function GetQuestItemStarterInfo(link)
for _, info in pairs(QIS.QuestItemStarterIDs) do
if match(link, "item:(%d+):") == info then
return true
end
end
end
function GetInvalidQuestItemInfo(link)
for _, info in pairs(QIS.InvalidQuestItemIDs) do
if match(link, "item:(%d+):") == info then
return true
end
end
end
local LAST_ITEM_ID = 24283
local itemInfoDB = {}