GetDifficultyInfo
functionguessedavailable in: camelot
Returns information about a difficulty.
function GetDifficultyInfo( difficultyID: number): (string, string, boolean, boolean, boolean, boolean, number?, boolean, number?, number?, boolean)Parameters
| name | type |
|---|---|
difficultyID | number |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | name | string | Difficulty name, e.g. "10 Player (Heroic)" |
| 2 | instanceType | string | |
| 3 | isHeroic | boolean | true if this is a heroic difficulty, false otherwise. |
| 4 | isChallengeMode | boolean | true if this is challenge mode difficulty, false otherwise. |
| 5 | displayHeroic | boolean | display the Heroic skull icon on the instance banner of the minimap |
| 6 | displayMythic | boolean | display the Mythic skull icon on the instance banner of the minimap |
| 7 | toggleDifficultyID | number? | difficulty ID of the corresponding heroic/non-heroic difficulty for 10/25-man raids, if one exists. |
| 8 | isLFR | boolean | true if this is looking for raid difficulty, false otherwise. |
| 9 | minPlayers | number? | minimum players needed. |
| 10 | maxPlayers | number? | maximum players allowed. |
| 11 | isUserSelectable | boolean |
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 ↗.