Wowpedia
Advertisement
Wowpedia
234,756
pages
Shadowlands-Petopia-Logo.png EJ_GetEncounterInfo
+ 4.2.0   Townlong-Yak Globe.png  Wowprogramming.png
Shadowlands-Petopia-Logo.png EJ_GetEncounterInfoByIndex
+ 4.2.0   Townlong-Yak Globe.png

Returns encounter info from the journal.

name, description, encounterID, rootSectionID, link, journalInstanceID, dungeonEncounterID, instanceID
   = EJ_GetEncounterInfo(encounterID)
   = EJ_GetEncounterInfoByIndex(index [, instanceID])

Arguments

EJ_GetEncounterInfo

encounterID 
number : JournalEncounterID

EJ_GetEncounterInfoByIndex

index 
number
instanceID 
number? : JournalInstance.ID - If omitted, defaults to the currently selected instance from EJ_SelectInstance()

Returns

name 
string
description 
string
encounterID 
number : JournalEncounterID - IDs for the Encounter Journal
rootSectionID 
number : JournalEncounterSection.ID - The first section article that describes the boss abilities
link 
string : journalLink
journalInstanceID 
number : JournalInstance.ID - The dungeon instance as used by the Encounter Journal
dungeonEncounterID 
number : DungeonEncounterID - IDs from ENCOUNTER_START
instanceID 
number : InstanceID - The map instance

Example

/dump EJ_GetEncounterInfo(95)
[1] = "Vanessa VanCleef", -- name
[2] = "As a young girl, Vanessa witnessed the gruesome death of her father and former Defias Brotherhood leader, Edwin VanCleef. She has since taken up his mantle of leadership, plotting to exact vengeance on Stormwind from the dark corridors of the Defias's stronghold in the Deadmines.", -- description
[3] = 95,    -- encounterID
[4] = 2060,  -- rootSectionID
[5] = "|cff66bbff|Hjournal:1:95:0|h[Vanessa VanCleef]|h|r", -- link 
[6] = 63,    -- journalInstanceID
[7] = 1081,  -- dungeonEncounterID
[8] = 36     -- instanceID

Patch changes

Advertisement