/
local update, indicator = nil, nil |
update = function() |
local hasData, leaderNeeds, tankNeeds, healerNeeds, dpsNeeds, _, _, _, _, _, _, myWait, queuedTime = GetLFGQueueStats() |
local hasData, leaderNeeds, tankNeeds, healerNeeds, dpsNeeds, _, _, _, _, _, _, _, _, _, _, myWait, queuedTime = GetLFGQueueStats() |
if not indicator then -- setup indicators |
MiniMapLFGFrame.lfgindicators = CreateFrame("Frame", nil, MiniMapLFGFrame) |
end |
end |
hooksecurefunc("LFDSearchStatus_Update", update) |
hooksecurefunc("LFGSearchStatus_Update", update) |
hooksecurefunc("LFG_UpdateFramesIfShown", update) |
MiniMapLFGFrame:HookScript("OnShow", update) |
if MiniMapLFGFrame:IsShown() then |
## Interface: 40200 |
## Interface: 40300 |
## Title: LFGStatusIcon |
## Notes: Adds queue status indicators to LFG minimap icon |
## Author: TotalPackage |
## X-Category: Interface Enhancements |
## Version: 4.2.001 |
## Version: 4.3.001 |
## LoadManagers: AddonLoader |
## X-LoadOn-Always: delayed |