EJ_HandleLinkPath

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Patch
Added in 4.2.0 / 4.4.0 / 1.15.3

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

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

Arguments

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

Returns

instanceID
number : JournalInstance.ID
encounterID
number? : JournalEncounterID
sectionID
number? : JournalEncounterSection.ID
tierIndex
number?

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

  • Used in the FrameXML to open a journalLink to the Encounter Journal.[1]

Patch changes