Wowpedia
Advertisement
Wowpedia
240,484
pages
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 on encounter journal loot items.

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?
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

Advertisement