WoW API: GetLFGQueueStats

From AddOn Studio
Revision as of 10:04, 13 December 2009 by WoWWiki>Orionshock (OnPageCreate)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetLFGQueueStats

Returns the current state and wait times for being in queue.

    hasData,  leaderNeeds, tankNeeds, healerNeeds, dpsNeeds, instanceType, instanceName, averageWait, 
         tankWait, healerWait, damageWait, myWait = GetLFGQueueStats()

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
instanceType
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
damageWait
number - average wait time for queuing DPS'ers
myWait
number - predicted wait time for you

Related Events