Retreives information about a loot from multiple corpses (loot window must be opened)


See also Loot functions.

Signature:

corpseGUID1, count1, corpseGUID2, count2, ... = GetLootSourceInfo(index)

Arguments:

  • index - Index of an item in the loot window (between 1 and GetNumLootItems()) (number)

Returns:

  • corpseGUID1 - Unit corpse GUID (string, guid)
  • count1 - Count of items in the specified corpse (number)
  • corpseGUID2 - Unit corpse GUID (string, guid)
  • count2 - Count of items in the specified corpse (number)
  • ... - and so on, for each item source