v0.13.8

GetDifficultyInfo

functionguessedavailable in: camelot

Returns information about a difficulty.

signaturewowlua
function GetDifficultyInfo(    difficultyID: number): (string, string, boolean, boolean, boolean, boolean, number?, boolean, number?, number?, boolean)

Parameters

nametype
difficultyIDnumber

Returns

#nametypedescription
1namestringDifficulty name, e.g. "10 Player (Heroic)"
2instanceTypestring
3isHeroicbooleantrue if this is a heroic difficulty, false otherwise.
4isChallengeModebooleantrue if this is challenge mode difficulty, false otherwise.
5displayHeroicbooleandisplay the Heroic skull icon on the instance banner of the minimap
6displayMythicbooleandisplay the Mythic skull icon on the instance banner of the minimap
7toggleDifficultyIDnumber?difficulty ID of the corresponding heroic/non-heroic difficulty for 10/25-man raids, if one exists.
8isLFRbooleantrue if this is looking for raid difficulty, false otherwise.
9minPlayersnumber?minimum players needed.
10maxPlayersnumber?maximum players allowed.
11isUserSelectableboolean

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Instance system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.