WoW:API GetLootSlotLink

From AddOn Studio
Revision as of 18:48, 29 August 2005 by WoWWiki>Inglais
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