Skip to content

Commit

Permalink
Fix spurious TOOLTIP PROCESSING messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Caerdon committed Nov 17, 2022
1 parent 8705f71 commit 4841e2d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions CaerdonItem.lua
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,10 @@ function CaerdonItemMixin:GetTooltipData(data)
elseif line.type == Enum.TooltipDataLineType.SellPrice then
elseif line.type == Enum.TooltipDataLineType.ProfessionCraftingQuality then
-- elseif line.type == Enum.TooltipDataLineType.SpellName then
elseif line.type == Enum.TooltipDataLineType.CurrencyTotal then
-- elseif line.type == Enum.TooltipDataLineType.UnitOwner then
-- elseif line.type == Enum.TooltipDataLineType.QuestTitle then
-- elseif line.type == Enum.TooltipDataLineType.QuestPlayer then
elseif line.type == Enum.TooltipDataLineType.NestedBlock then
else
print("TOOLTIP PROCESSING NEEDED: " .. self:GetItemLink() .. ", type: " .. tostring(line.type))
Expand All @@ -595,6 +599,29 @@ function CaerdonItemMixin:GetTooltipData(data)
return tooltipData
end


-- { Name = "None", Type = "TooltipDataLineType", EnumValue = 0 },
-- { Name = "Blank", Type = "TooltipDataLineType", EnumValue = 1 },
-- { Name = "UnitName", Type = "TooltipDataLineType", EnumValue = 2 },
-- { Name = "GemSocket", Type = "TooltipDataLineType", EnumValue = 3 },
-- { Name = "AzeriteEssenceSlot", Type = "TooltipDataLineType", EnumValue = 4 },
-- { Name = "AzeriteEssencePower", Type = "TooltipDataLineType", EnumValue = 5 },
-- { Name = "LearnableSpell", Type = "TooltipDataLineType", EnumValue = 6 },
-- { Name = "UnitThreat", Type = "TooltipDataLineType", EnumValue = 7 },
-- { Name = "QuestObjective", Type = "TooltipDataLineType", EnumValue = 8 },
-- { Name = "AzeriteItemPowerDescription", Type = "TooltipDataLineType", EnumValue = 9 },
-- { Name = "RuneforgeLegendaryPowerDescription", Type = "TooltipDataLineType", EnumValue = 10 },
-- { Name = "SellPrice", Type = "TooltipDataLineType", EnumValue = 11 },
-- { Name = "ProfessionCraftingQuality", Type = "TooltipDataLineType", EnumValue = 12 },
-- { Name = "SpellName", Type = "TooltipDataLineType", EnumValue = 13 },
-- { Name = "CurrencyTotal", Type = "TooltipDataLineType", EnumValue = 14 },
-- { Name = "ItemEnchantmentPermanent", Type = "TooltipDataLineType", EnumValue = 15 },
-- { Name = "UnitOwner", Type = "TooltipDataLineType", EnumValue = 16 },
-- { Name = "QuestTitle", Type = "TooltipDataLineType", EnumValue = 17 },
-- { Name = "QuestPlayer", Type = "TooltipDataLineType", EnumValue = 18 },
-- { Name = "NestedBlock", Type = "TooltipDataLineType", EnumValue = 19 },
-- { Name = "ItemBinding", Type = "TooltipDataLineType", EnumValue = 20 },

function CaerdonItemMixin:IsSellable()
local itemID = self:GetItemID()
local isSellable = itemID ~= nil
Expand Down
2 changes: 1 addition & 1 deletion CaerdonWardrobe.toc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Title: Caerdon Wardrobe
## Notes: Shows BOE / BOA, openable, and unlearned pets, toys, mounts and wardrobe indicator on bank / bag / auction / merchant / guild bank / loot frame / loot roll / encounter journal slots
## Author: Caerdon
## Version: v3.2.3
## Version: v3.2.4
## SavedVariables: CaerdonWardrobeConfig
## OptionalDeps: WagoAnalytics, WoWUnit, AdiBags, AngrierWorldQuests, ArkInventory, Bagnon, BaudBag, cargBags_Nivaya, Combuctor, ElvUI, Inventorian, KkthnxUI, Sorted, VenturePlan, WorldQuestsList, WorldQuestTab, WorldQuestTracker, ZygorGuidesViewer

Expand Down

0 comments on commit 4841e2d

Please sign in to comment.