WoW:API GetNumLootItems: Difference between revisions

no edit summary
(upgraded deprecated template)
No edit summary
Line 2: Line 2:
  <center>'''GetNumLootItems''' ''-Documentation by Sn3b-''</center>
  <center>'''GetNumLootItems''' ''-Documentation by Sn3b-''</center>


Returns the number of items held by a dead mob (the item window must be opened).
Returns the slot number of the last item in the loot window (the item window must be opened).
 
Would return the number of items right when the window is opened. If, for instance, the first item is looted, the function would still return the same number as before. Looting the last item would make the function return one less than the original amount.


  GetNumLootItems();
  GetNumLootItems();
Line 24: Line 26:
;''Description''
;''Description''


: Returns the number of items held by a dead mob (the item window must be opened).
: Returns the slot number of the last item in the loot window (the item window must be opened).
Anonymous user