Method Loot:HasItem [-] [+]
Returns true
if the Loot contains the specified item, and returns false
otherwise.
Synopsis
hasItem = Loot:HasItem( itemId )
hasItem = Loot:HasItem( itemId, count )
Arguments
number itemId (0)
The ID of the item to check for. If 0, checks if any item exists.
Valid numbers: integers from 0 to 4,294,967,295.
number count (0)
Specific count to check for. If 0, ignores count.
Valid numbers: integers from 0 to 4,294,967,295.
Returns
boolean hasItem
- See method description.