Sn3b0ng@legacy41572611 (talk | contribs) No edit summary |
Pixep44847@legacy41564505 (talk | contribs) mNo edit summary |
||
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{wowapi}} |
||
− | <center>'''GetNumLootItems''' ''-Documentation by Sn3b-''</center> |
||
− | Returns the number of |
+ | 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 18: | Line 20: | ||
;''Returns'' |
;''Returns'' |
||
+ | :number |
||
− | :;nothing |
||
---- |
---- |
||
;''Description'' |
;''Description'' |
||
− | : Returns the number of |
+ | : Returns the slot number of the last item in the loot window (the item window must be opened). So it may be superior to the number of items remaining, if one or more items have already been taken. |
− | |||
− | ---- |
||
− | {{Template:WoW API}} |
||
− | |||
− | |||
− | --[[User:Sn3b|Sn3b]] 10:25, 28 Feb 2005 (EST) |
Revision as of 13:22, 28 February 2009
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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();
- Arguments
- none
- Example
numLootItems = GetNumLootItems();
- Returns
- number
- Description
- Returns the slot number of the last item in the loot window (the item window must be opened). So it may be superior to the number of items remaining, if one or more items have already been taken.