Lore archive · Warcraft Wiki, 2023 dump
API GetLFGMode
Last wiki revision 2018-11-26
Returns the current mode while in LFG.
mode, submode = GetLFGMode(category, lfgID)
Note that Blizzard divides "Looking For ___" functions into three categories: LFR specific to the raid finder, LFD specific to the 5-player instance finder, and generic "Looking For Group" routines like this one, applicable to both of the finder/matching tools.
- category : number - One of the LE_LFG_CATEGORY_* constants (see below).
- mode : string - returns your LFG status for that category.
- submode : string - returns your LFG sub-status (additional details).
Multiple status modes additionally indicate whether the player has the ability to queue/re-queue/de-queue (empowered) or not (the default, unempowered). As a rule, solo players and players in Dungeon Finder groups are empowered; in a raid group only the leader and assistants are empowered.
This function is implemented in FrameXML/UIParent.lua. In 4.x, this function took no arguments; with 5.x and the advent of multiple queues, the category argument specifies which queue to examine for data:
- LE_LFG_CATEGORY_LFD : the dungeon finder
- LE_LFG_CATEGORY_RF : the raid finder (automated matchmaking)
- LE_LFG_CATEGORY_SCENARIO : scenarios
- LE_LFG_CATEGORY_LFR : the raid browser
GetLFGModeType - in 4.x GetLFGInfoServer - used to implement GetLFGMode in 5.x
Source
https://warcraft.wiki.gg/wiki/API_GetLFGMode · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.