EJ_IsValidInstanceDifficulty

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 4.3.0

Returns whether the difficultyID is valid for use in the journal.

isValid = EJ_IsValidInstanceDifficulty(difficultyID)

Arguments

difficultyID
number - the following IDs should be valid:
ID Name Type
1 Normal party
2 Heroic party
14 Normal raid
15 Heroic raid
16 Mythic raid
17 Looking For Raid raid
23 Mythic party
24 Timewalking party
33 Timewalking raid

Returns

isValid
boolean

Patch changes

Legion Patch 7.0.3 (2016-07-19): Added.

See also