API EJ GetInstanceByIndex

Returns instance info for the Encounter Journal.
 instanceID, name, description, bgImage, buttonImage1, loreImage, buttonImage2, dungeonAreaMapID, link, shouldDisplayDifficulty, mapID
 = EJ_GetInstanceByIndex(index, isRaid)
==Arguments==
:;index:
:;isRaid: - whether to return raid or normal instances.
==Returns==
:;1. instanceID: : JournalInstance.ID
:;2. name:
:;3. description:
:;4. bgImage: : FileID
:;5. buttonImage1: : FileID
:;6. loreImage: : FileID
:;7. buttonImage2: : FileID
:;8. dungeonAreaMapID: : UiMapID - 0 for raids before Siege of Orgrimmar (not including Timewalking raids), raid world bosses, and dungeons.
:;9. link: : journalLink
:;10. shouldDisplayDifficulty:
:;11. mapID: - The InstanceID for the instance.
==Gallery ==
API EJ GetInstanceByIndex 01.png
API EJ GetInstanceByIndex 02.png
API EJ GetInstanceByIndex 03.png
==Patch changes==
==See also==
*