Method Loot:RemoveItem [-] [+]

Removes the specified item from the Loot.

If count is specified, removes only that amount. Otherwise removes all items with the ID.

Synopsis

Loot:RemoveItem( itemId )

Loot:RemoveItem( itemId, isCountSpecified )

Loot:RemoveItem( itemId, isCountSpecified, count )

Arguments

number itemId

The ID of the item to remove.

Valid numbers: integers from 0 to 4,294,967,295.

boolean isCountSpecified (false)

If true, only removes the specified count.

number count (0)

Amount to remove when isCountSpecified is true.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine