Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetLootSourceInfo

Last wiki revision 2023-05-01

Returns information about the source of the objects in a loot slot. guid, quantity, ... = GetLootSourceInfo(lootSlot)

  • lootSlot: - index of the loot slot, ascending from 1 up to

(Variable returns: )

  • guid: - GUID of the source being looted. Can also return guids for objects like ore veins and herbs, and Item guids for containers like lockboxes.
  • quantity: - Quantity of the object being looted from this source.

Prints out the source guid and quantity of each loot source item individually.

Source

https://warcraft.wiki.gg/wiki/API_GetLootSourceInfo · 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.