Wowpedia

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

READ MORE

Wowpedia
Register
Advertisement

Returns info for loot items available from an encounter.

itemInfo = C_EncounterJournal.GetLootInfo(id)
         = C_EncounterJournal.GetLootInfoByIndex(index [, encounterIndex])

Arguments[]

GetLootInfo[]

id
number

GetLootInfoByIndex[]

index
number - Ranging from 1 to EJ_GetNumLoot()
encounterIndex
number? - Defaults to the currently viewed journal encounter.

Returns[]

itemInfo
EncounterJournalItemInfo
Field Type Description
itemID number
encounterID number? JournalEncounterID
name string? item name, including color sequence
itemQuality string?
filterType Enum.ItemSlotFilterType?
icon number? FileID
slot string? ItemEquipLoc e.g. "Two-Hand" or "Shoulder".
armorType string? e.g. "Cloth" or "Mail". The string will be colored red if the item cannot be equipped.
link string? ItemLink
handError boolean?
weaponTypeError boolean?
displayAsPerPlayerLoot boolean? Added in 9.1.5
displayAsVeryRare boolean? Added in 10.0.2
displayAsExtremelyRare boolean? Added in 10.0.2
Enum.ItemSlotFilterType
Value Field Description
0 Head
1 Neck
2 Shoulder
3 Cloak
4 Chest
5 Wrist
6 Hand
7 Waist
8 Legs
9 Feet
10 MainHand
11 OffHand
12 Finger
13 Trinket
14 Other
15 NoFilter

Patch changes[]

Shadowlands Patch 9.0.1 (2020-10-13): Moved to C_EncounterJournal.GetLootInfo()
Cataclysm Patch 4.2.0 (2011-06-28): Added as EJ_GetLootInfo()

Advertisement