WoW:API GetLootSlotLink

From AddOn Studio
Revision as of 03:46, 2 March 2005 by WoWWiki>Cimbird (name,itemid, enchant, subid)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

return loot slot items link and tooltip

   for index = 1, GetNumLootItems(), 1 do
     if (LootSlotIsItem(index)) then
       local iteminfo = GetLootSlotLink(index);
       akz_AddFishLoot(GetMinimapZoneText(), itemid);
     end
   end    

iteminfo is info of items include name,itemid, enchant, subid