Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns info for the current LFG queue.
hasData, leaderNeeds, tankNeeds, healerNeeds, dpsNeeds, totalTanks, totalHealers, totalDPS, instanceType, instanceSubType, instanceName, averageWait, tankWait, healerWait, dpsWait, myWait, queuedTime, activeID = GetLFGQueueStats(category [, activeID])
Arguments[]
The first argument has two forms, affecting how the function behaves (see details):
- category
- number - Depending on which type of LFG you're looking for.
- activeID
- number? - Specific LFG 'forming group' ID
Returns[]
- hasData
- boolean - indicates if you are in queue
- leaderNeeds
- boolean - if group still needs a leader designated
- tankNeeds
- boolean - waiting for a tank
- healerNeeds
- boolean - waiting for a designated healer
- dpsNeeds
- boolean - needing more DPS'ers
- totalTanks
- number - total tanks needed for this queue
- totalHealers
- number - total healers needed for this queue
- totalDPS
- number - total DPS'ers needed for this queue
- instanceType
- number - unknown relation
- instanceSubType
- number - unknown relation
- instanceName
- string - as selected in LFD Finder
- averageWait
- number - average wait for an entire group to be assembled
- tankWait
- number - average wait time for queuing Tanks
- healerWait
- number - average wait time for queuing Healers
- dpsWait
- number - average wait time for queuing DPS'ers
- myWait
- number - predicted wait time for you
- queuedTime
- number - appears to be the absolute time of when the queue began. Use against GetTime()
- activeID
- unknown
Patch changes[]
Patch 5.4.0 (2013-09-10): Added activeID
argument/return.
See also[]
- LFG_QUEUE_STATUS_UPDATE - Indicates new data is available.