Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(Update)
Tag: WoW API docs
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{wowapi}}
 
{{wowapi}}
Returns the supplementary instance/encounter ID for an encounter/section ID.
+
Returns the supplementary instance and encounter ID for an encounter or section ID.
 
instanceID, encounterID, sectionID, tierIndex = EJ_HandleLinkPath(jtype, id)
 
instanceID, encounterID, sectionID, tierIndex = EJ_HandleLinkPath(jtype, id)
   
Line 10: Line 10:
 
;[[EncounterInstanceID|instanceID]] : number
 
;[[EncounterInstanceID|instanceID]] : number
 
;[[EncounterID|encounterID]] : number (nilable)
 
;[[EncounterID|encounterID]] : number (nilable)
;[[EncounterSectionID|sectionID]] : number (nilable)
+
;sectionID : number (nilable) : [https://wow.tools/dbc/?dbc=journalencountersection JournalEncounterSection.ID]
   
 
== Example ==
 
== Example ==

Revision as of 11:55, 3 December 2020

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) : JournalEncounterSection.ID

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