framework update

This commit is contained in:
Tercio Jose
2022-10-07 11:16:31 -03:00
parent ea9caa1f40
commit f1fa3f5cfe
5 changed files with 127 additions and 102 deletions
+9
View File
@@ -107,6 +107,15 @@ function DF.IsShadowlandsWow()
end
end
function DF.GetContainerItemInfo(containerIndex, slotIndex)
if (DF.IsDragonflightAndBeyond()) then
local itemInfo = C_Container.GetContainerItemInfo(containerIndex, slotIndex)
return itemInfo.iconFileID, itemInfo.stackCount, itemInfo.isLocked, itemInfo.quality, itemInfo.isReadable, itemInfo.hasLoot, itemInfo.hyperlink, itemInfo.isFiltered, itemInfo.hasNoValue, itemInfo.itemID, itemInfo.isBound
else
return GetContainerItemInfo(containerIndex, slotIndex)
end
end
local roleBySpecTextureName = {
DruidBalance = "DAMAGER",
DruidFeralCombat = "DAMAGER",