World of Warcraft Forever API · C_LootJournal.md, for your AI
C_LootJournal
2 functions, 1 events, 2 tables, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_LootJournal.GetItemSetItems
items = C_LootJournal.GetItemSetItems(setID)
May return nothing.
Arguments
setID | number |
|---|
Returns
items | LootJournalItemInfo[] |
|---|
C_LootJournal.GetItemSets
itemSets = C_LootJournal.GetItemSets([classID], [specID])
May return nothing.
Arguments
classID | number may be nil | |
|---|---|---|
specID | number may be nil |
Returns
itemSets | LootJournalItemSetInfo[] |
|---|
Events
LOOT_JOURNAL_ITEM_UPDATE
No payload.
Tables
LootJournalItemInfo structure
itemID | number | |
|---|---|---|
icon | fileID | |
invType | luaIndex |
LootJournalItemSetInfo structure
setID | number | |
|---|---|---|
itemLevel | number | |
name | cstring |