WoW:API GetLootSlotLink

From AddOn Studio
Revision as of 14:57, 4 January 2006 by WoWWiki>Anticrash
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 = GetLootSlotInfo(index);
       akz_AddFishLoot(GetMinimapZoneText(), itemid);
     end
   end    

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

Template:WoW API