API GetRFDungeonInfo

From Wowpedia
Jump to: navigation, search

Returns info about a Raid Finder dungeon by index. Limited by player level and other factors, so only Raid Finder dungeons listed in the LFG tool can be looked up.

ID, name, typeID, subtypeID, minLevel, maxLevel, recLevel, minRecLevel, maxRecLevel, expansionLevel, groupID, textureFilename, difficulty, maxPlayers, description, isHoliday, bonusRepAmount, minPlayers = GetRFDungeonInfo(index)

Arguments

index 
Number - index of a Raid Finder dungeon, from 1 to GetNumRFDungeons()

Returns

ID 
Number - Dungeon ID
name 
String - The name of the dungeon/event
typeID 
Number - 1=TYPEID_DUNGEON or LFR, 2=raid instance, 4=outdoor area, 6=TYPEID_RANDOM_DUNGEON
subtypeID 
Number - 0=Unknown, 1=LFG_SUBTYPEID_DUNGEON, 2=LFG_SUBTYPEID_HEROIC, 3=LFG_SUBTYPEID_RAID, 4=LFG_SUBTYPEID_SCENARIO, 5=LFG_SUBTYPEID_FLEXRAID
minLevel 
Number - Earliest level you can enter this dungeon (using the portal, not LFD)
maxLevel 
Number - Highest level you can enter this dungeon (using the portal, not LFD)
recLevel 
Number - Recommended level to queue up for this dungeon
minRecLevel 
Number - Earliest level you can queue up for the dungeon
maxRecLevel 
Number - Highest level you can queue up for the dungeon
expansionLevel 
Number - Referring to GetAccountExpansionLevel() values
groupID 
Number - Unknown
textureFilename 
String - For example "Interface\LFDFRAME\LFGIcon-%s.blp" where %s is the textureFilename value
difficulty 
Number - 0 for Normal and 1 for Heroic
maxPlayers 
Number - Maximum players allowed
description 
String - Usually empty for most dungeons but events contain descriptions of the event, like Love is in the Air daily or Brewfest, e.g. (string)
isHoliday 
Boolean - If true then this is a holiday event
bonusRepAmount 
Number - Unknown
minPlayers 
Number - Minimum number of players (before the group disbands?); usually nil

Example

/dump GetRFDungeonInfo(1)
=> 417, "Fall of Deathwing", 1, 3, 85, 85, 85, 85, 85, 3, 0, "FALLOFDEATHWING", 1, 25, "Deathwing must be destroyed, or all is lost.", false, 0
/dump GetRFDungeonInfo(2)
=> 416, "The Siege of Wyrmrest Temple", 1, 3, 85, 85, 85, 85, 85, 3, 0, "SIEGEOFWYRMRESTTEMPLE", 1, 25, "Deathwing seeks to destroy Wyrmrest Temple and end the lives of the Dragon Aspects and Thrall.", false, 0

See also

  • GetNumRFDungeons - Counts of the number of Raid Finder dungeons the player can query with this function
  • GetSavedInstanceInfo - A similar function to this, except for the player's saved dungeon/raid lockout data (does not include Raid Finder)
  • GetSavedWorldBossInfo - A similar function to this, except for the player's saved world boss lockout data
  • GetLFGDungeonInfo - Almost completely identical; this function uses dungeon IDs instead of Raid Finder indexes
  • GetLFGDungeonEncounterInfo - A more specific function; this lets you check up on the individual encounters within a given LFG Dungeon

Patch History

Mists of Pandaria Patch 5.4.0 (2013-09-10): Now returns subtypeID, bonusRepAmount and minPlayers.
Cataclysm Patch 4.3.0 (2011-11-29): Added.