EJ_GetInstanceInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Patch
Added in 4.2.0 / 4.4.0 / 1.15.3

Returns instance info for the Encounter Journal.

name, description, bgImage, buttonImage1, loreImage, buttonImage2, dungeonAreaMapID, link, shouldDisplayDifficulty, mapID
    = EJ_GetInstanceInfo([journalInstanceID])

Arguments

journalInstanceID
number? : JournalInstance.ID - If omitted, defaults to the currently selected instance from EJ_SelectInstance()

Returns

1. name
string
2. description
string
3. bgImage
number : FileID
4. buttonImage1
number : FileID
5. loreImage
number : FileID
6. buttonImage2
number : FileID
7. dungeonAreaMapID
number : UiMapID - 0 for raids before Siege of Orgrimmar (not including Timewalking raids), raid world bosses, and dungeons.
8. link
string : journalLink
9. shouldDisplayDifficulty
boolean
10. mapID
number - The InstanceID for the instance.

Patch changes

See also