Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:API GetLFGQueueStats
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} __NOTOC__ Returns the current state and wait times for being in queue. hasData, leaderNeeds, tankNeeds, healerNeeds, dpsNeeds, totalTanks, totalHealers, totalDPS, instanceType, instanceSubType, instanceName, averageWait, tankWait, healerWait, damageWait, myWait, queuedTime, activeID = GetLFGQueueStats(lfgType[, lfgID]) == Arguments == ;lfgType : {{api|lfgCategoryType|t=t}} [LE_LFG_CATEGORY_LFD, LE_LFG_CATEGORY_LFR, LE_LFG_CATEGORY_RF, LE_LFG_CATEGORY_SCENARIO, LE_LFG_CATEGORY_FLEXRAID, LE_LFG_CATEGORY_WORLDPVP] - depending on which type of LFG you're looking for. ;lfgID :(Optional) specific LFG 'forming group' ID == Returns == ;hasData : Boolean - indicates if you are in queue ;leaderNeeds : Boolean - if group still needs a leader designated ;tankNeeds : number - count of tanks still needed ;healerNeeds : number - count of healers still needed ;dpsNeeds : number - count of DPS still needed ;totalTanks : number - count of total tanks required ;totalHealers : number - count of total healers required ;totalDPS : number - count of total DPS required ;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 ;damageWait : 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 [[API GetTime|GetTime]]() ;activeID : unknown - possibly not used, shows in UI code as a default lfgID/activeID for a given lfgCategoryType == Related Events == <!-- If this function triggers an event, name it here. If not, remove the entire section. --> * "[[Events/L#WLFG_QUEUE_STATUS_UPDATE|LFG_QUEUE_STATUS_UPDATE]]", new data available with this event == Changes == * {{Patch 5.4.0|note=Now requires a lfgCategoryType (LE_LFG_CATEGORY_) argument.}}
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Api
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Patch 5.4.0
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)