Commit 981b643c authored by Robin Schoonover's avatar Robin Schoonover

Add support for Quest IDs in quest frame.

parent 1dd79561
Pipeline #187 passed with stage
......@@ -7,4 +7,4 @@
AllTheIDs.lua
GameTooltip.lua
PetJournal.lua
ReputationFrame.lua
Other.lua
local addon_name, addon = ...
hooksecurefunc("QuestMapFrame_UpdateAll", function()
for i, frame in ipairs(QuestMapFrame.QuestsFrame.Contents.Titles) do
if not frame._alltheids_hooked then
frame._alltheids_hooked = true
frame:HookScript("OnEnter", function(self)
local _, _, _, _, _, _, _, questID = GetQuestLogTitle(self.questLogIndex)
if questID and GameTooltip:GetOwner() == self then
addon:AddIDLine(GameTooltip, "Quest", questID)
end
end)
end
end
end)
hooksecurefunc("ReputationFrame_Update", function()
if ReputationDetailFrame:IsShown() then
local selected = GetSelectedFaction()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment