Joins the player to the LFG system. This function just signals to the server that the player is joining the LFG system. In order to actually queue for any dungeons, the SetLFGDungeon function must be called for each dungeon the player wishes to queue for.

For the 'random dungeon' queues, these are a single numeric identifier that will queue the player for any of the dungeons in that category. You can obtain this number by opening the LFD frame and running /dump LFDQueueFrame.type.


See also Looking for group functions.

Signature:

JoinLFG()

Examples:

-- Joins the player to whatever queue is selected in the LFD window.
-- This will NOT work with 'Specific Dungeons', as each of those
-- must be added using SetLFGDungeon() individually.
ShowUIPanel(LFDParentFrame)
local queueId = LFDQueueFrame.type
SetLFGDungeon(queueId)
JoinLFG()