WoW:API GetLootSlotInfo: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 41: Line 41:
: lootQuantity is 0
: lootQuantity is 0
: rarity is 0
: rarity is 0
----
;''Notes''
When returning coin data, the 'quanity' is always 0 and the 'item' contains the amount and text.  It also includes a line break after each type of coin.  The linebreak can be removed by string substitution.
DEFAULT_CHAT_FRAME:AddMessage("coins: "..string.gsub(item,"\n"," "),1,1,1);


----
----
{{Template:WoW API}}
{{Template:WoW API}}
Anonymous user