Wowpedia
Advertisement
Shadowlands-Icon-Inline.png C_EncounterJournal.GetLootInfo
+ 9.0.1   Townlong-Yak Globe.png  Townlong-Yak BAD.png  ProfIcons engineering.png
Shadowlands-Icon-Inline.png C_EncounterJournal.GetLootInfoByIndex
+ 9.0.1   Townlong-Yak Globe.png  Townlong-Yak BAD.png  ProfIcons engineering.png
EJ_GetLootInfo
+ 4.2.0   - 9.0.1   Townlong-Yak Globe.png

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
Key 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
Enum.ItemSlotFilterType
Value Key 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