v0.13.8

C_EncounterJournal

namespaceavailable in: camelot

Status in wowlua

22 functions: 0 implemented, 1 recorded, 21 guessed. 3 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetBaseDifficultyIDReturns the base difficulty ID that the given difficulty ID belongs to. · by wowlua
(difficultyID: number): number
guessed
GetDungeonEntrancesForMapReturns the instance entrances for a map; including raid instances.
(uiMapID: number): DungeonEntranceMapInfo[]
recorded
GetEncounterJournalLinkReturns a chat link to an Encounter Journal entry. · by wowlua
(linkType: JournalLinkTypes, ID: number, displayText: string, difficultyID: number): string
guessed
GetEncountersOnMapReturns boss pin locations for an instance map.
(uiMapID: number): EncounterJournalMapEncounterInfo[]
guessed
GetInstanceForGameMapGameMap as opposed to UIMap since we use a mapID not a uiMapID.
(mapID: number): number?
guessed
GetLootInfoReturns info for loot items available from an encounter.
(id: number): EncounterJournalItemInfo
guessed
GetLootInfoByIndexReturns info for loot items available from an encounter.
(index: number, encounterIndex: number?): EncounterJournalItemInfo?
guessed
GetSectionIconFlagsReturns the icon flags for a section, such as Magic Effect and Heroic Difficulty
(sectionID: number): number[]?
guessed
GetSectionInfoReturns information about an entry in the Abilities section of the Encounter Journal.
(sectionID: number): EncounterJournalSectionInfo?
guessed
GetSlotFilterReturns the current item slot filter for loot items.
(): ItemSlotFilterType
guessed
InitalizeSelectedTierSets the Encounter Journal's selected tier to its initial value. · by wowlua
()
guessed
InstanceHasDifficultyIDWhether the Encounter Journal's selected instance has the given difficulty. · by wowlua
(difficultyID: number): boolean
guessed
InstanceHasLootReturns whether an instance has a loot table in the journal.
(instanceID: number?): boolean
guessed
IsEncounterCompleteReturns if a boss encounter has been completed.
(journalEncounterID: number): boolean
guessed
OnCloseTells the game that the Encounter Journal was closed. · by wowlua
()
guessed
OnOpenTells the game that the Encounter Journal was opened. · by wowlua
()
guessed
ResetSlotFilterResets the item slot filter for loot items.
()
guessed
SetPreviewMythicPlusLevelSets the Mythic+ keystone level the Encounter Journal previews loot for. · by wowlua
(level: number)
guessed
SetPreviewPvpTierSets the PvP tier the Encounter Journal previews rewards for. · by wowlua
(tier: number)
guessed
SetSlotFilterSets the item slot filter for loot items.
(filterSlot: ItemSlotFilterType)
guessed
SetTabSets the Encounter Journal's selected tab. · by wowlua
(tabIdx: number)
guessed
StartArathiRPECalled from the Tutorials tab of the Adventure Guide to start the Catch Up Experience set in the Arathi Highlands.
()
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
EJ_DIFFICULTY_UPDATEdifficultyID: numbernot implemented
EJ_LOOT_DATA_RECIEVEDitemID: number?not implemented
SHOW_JOURNEYS_UIfactionID: numbernot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("EJ_DIFFICULTY_UPDATE").

Structures

  • DungeonEntranceMapInfo · areaPoiID, position, name, description, atlasName, journalInstanceID
  • EncounterJournalItemInfo · itemID, encounterID?, name?, itemQuality?, filterType?, icon?, slot?, armorType?, link?, handError?, weaponTypeError?, displayAsPerPlayerLoot?, displayAsVeryRare?, displayAsExtremelyRare?, displaySeasonID?
  • EncounterJournalMapEncounterInfo · encounterID, mapX, mapY
  • EncounterJournalSectionInfo · spellID, title, description?, headerType, abilityIcon, creatureDisplayID, uiModelSceneID, siblingSectionID?, firstChildSectionID?, filteredByDifficulty, link, startsOpen

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (EncounterJournal system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.