Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API EJ_GetInstanceByIndex

From Wowpedia
Jump to: navigation, search

Returns instance info for the Encounter Journal.

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

Arguments

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

Returns

1. instanceID 
number
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 - Seems to be always zero.
9. link 
string - journal hyperlink
10. shouldDisplayDifficulty 
boolean

Gallery

Patch changes

See also