IsBattlePayItem
Jump to navigation
Jump to search
Returns whether an item was purchased from the in-game store.
isPayItem = IsBattlePayItem(bag, slot)
Arguments
- bag
- number (bagID) - container ID, e.g. 0 for backpack.
- slot
- number - slot index within the container, ascending from 1.
Returns
- isPayItem
- boolean - true if the item was purchased from the in-game store, false otherwise.
Patch changes
Patch 5.4.0 (2013-09-10): Added.