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_HandleLinkPath

From Wowpedia
Jump to: navigation, search

Returns the supplementary instance and encounter ID for an encounter or section ID.

instanceID, encounterID, sectionID, tierIndex = EJ_HandleLinkPath(jtype, id)

Arguments

jtype 
number - journal type
id 
number - depending on journal type; 0=instanceID, 1=encounterID, 2=sectionID

Returns

instanceID 
number
encounterID 
number (nilable)
sectionID 
number (nilable)

Example

Section "Bwonsamdi's Boon" (19444) is from the "King Rastakhan" (2335) encounter in the "Battle of Dazar'alor" (1176) instance

/dump EJ_HandleLinkPath(2, 19444)
> 1176, 2335, 19444

Details

Patch changes