API GetLFGDungeonInfo

From Wowpedia
Jump to: navigation, search

Retrieves specific dungeon information, not limited by player level and all dungeons can be looked up.

name, typeID, subtypeID, minLevel, maxLevel, recLevel, minRecLevel, maxRecLevel, expansionLevel, groupID, textureFilename, difficulty, maxPlayers, description, isHoliday, bonusRepAmount, minPlayers, isTimeWalker, name2, minGearLevel = GetLFGDungeonInfo(dungeonID)

Arguments

dungeonID 
Number - Ranging from 1 to around 2000 in patch 8.1.5

Returns

1. name 
String - The name of the dungeon/event
2. typeID 
Number - 1=TYPEID_DUNGEON or LFR, 2=raid instance, 4=outdoor area, 6=TYPEID_RANDOM_DUNGEON
3. subtypeID 
Number - 0=Unknown, 1=LFG_SUBTYPEID_DUNGEON, 2=LFG_SUBTYPEID_HEROIC, 3=LFG_SUBTYPEID_RAID, 4=LFG_SUBTYPEID_SCENARIO, 5=LFG_SUBTYPEID_FLEXRAID
4. minLevel 
Number - Earliest level you can enter this dungeon (using the portal, not LFD)
5. maxLevel 
Number - Highest level you can enter this dungeon (using the portal, not LFD)
6. recLevel 
Number - Recommended level to queue up for this dungeon
7. minRecLevel 
Number - Earliest level you can queue up for the dungeon
8. maxRecLevel 
Number - Highest level you can queue up for the dungeon
9. expansionLevel 
Number - Referring to GetAccountExpansionLevel() values
10. groupID 
Number - Unknown
11. textureFilename 
String - For example "Interface\LFDFRAME\LFGIcon-%s.blp" where %s is the textureFilename value
12. difficulty 
Number - 0 for Normal and 1 for Heroic
13. maxPlayers 
Number - Maximum players allowed
14. 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)
15. isHoliday 
Boolean - If true then this is a holiday event
16. bonusRepAmount 
Number - Unknown
17. minPlayers 
Number - Minimum number of players (before the group disbands?); usually nil
18. isTimeWalker 
Boolean - If true then it's Timewalking Dungeon
19. name2 
String - Currently unknown. It seems to be showing the same instance name but could also be the pre-required instance name
20. minGearLevel 
Number - showing the minimum gear level for the current instance; note that the value could be 0.

Patch changes

See also

  • 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
  • GetRFDungeonInfo - Almost completely identical; this function uses Raid Finder indexes instead of dungeon IDs
  • GetLFGDungeonEncounterInfo - A more specific function; this lets you check up on the individual encounters within a given LFG Dungeon