WoW:API GetLootSlotLink: Difference between revisions
Jump to navigation
Jump to search
(name,itemid, enchant, subid) |
No edit summary |
||
| Line 2: | Line 2: | ||
for index = 1, GetNumLootItems(), 1 do | for index = 1, GetNumLootItems(), 1 do | ||
if (LootSlotIsItem(index)) then | if (LootSlotIsItem(index)) then | ||
local iteminfo = | local iteminfo = GetLootSlotInfo(index); | ||
akz_AddFishLoot(GetMinimapZoneText(), itemid); | akz_AddFishLoot(GetMinimapZoneText(), itemid); | ||
end | end | ||
end | end | ||
iteminfo is info of items include name,itemid, enchant, subid | iteminfo is info of items include name,itemid, enchant, subid | ||
Revision as of 09:03, 19 March 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