API GetDungeonDifficultyID
From Wowpedia
Returns the player's currently selected dungeon difficulty.
difficultyID = GetDungeonDifficultyID()
Returns
- difficultyID
- Number : The player's (or group leader's) current dungeon difficulty ID preference.
- 1 → Normal
- 2 → Heroic
- 8 → Challenge Mode
Details
- You may use GetDifficultyInfo to retrieve information about the returned ID value.
See also
Patch changes
Patch 5.0.4 (2012-08-28): Renamed from GetDungeonDifficulty.
Patch 3.2.0 (2009-08-04): Raid difficulty preferences split off to GetRaidDifficulty.