Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API EJ GetLootInfo

Last wiki revision 2022-09-10

Returns loot info for an encounter or instance. itemID, encounterID, name, icon, slot, armorType, link = EJ_GetLootInfo(lootID) = EJ_GetLootInfoByIndex(index [, encounterIndex])

  • lootID : number
  • index : number - ranging from 1 to.
  • encounterIndex : number (optional) - index of any multiple bosses that drop the same loot, ranging from 1 to . This makes it possible for the FrameXML to show two boss names for a loot item.
  • itemID : number
  • encounterID : number
  • name : string - item name, including quality color escape sequence.
  • icon : number - FileID
  • slot : string - INVTYPE, 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
  • If loot information is not immediately available, will fire when it is.

Source

https://warcraft.wiki.gg/wiki/API_EJ_GetLootInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.