EJ_GetInstanceByIndex

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

Returns instance info for the Encounter Journal.

instanceID, name, description, bgImage, buttonImage1, loreImage, buttonImage2, dungeonAreaMapID, link, shouldDisplayDifficulty, mapID
    = EJ_GetInstanceByIndex(index, isRaid)

Arguments

index
number
isRaid
boolean - whether to return raid or normal instances.

Returns

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

Gallery

Patch changes

Cataclysm Patch 4.2.0 (2011-06-28): Added.

See also