WoW:API GetLootSlotLink: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 7: Line 7:
     end     
     end     
iteminfo is info of items include name,itemid, enchant, subid
iteminfo is info of items include name,itemid, enchant, subid
[[Category:API Functions|GetLootSlotLink]]
[[Category:API Inventory Functions|GetLootSlotLink]]
[[Category:API Item Functions|GetLootSlotLink]]
[[Category:API Loot Functions|GetLootSlotLink]]

Revision as of 18:48, 29 August 2005

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