Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API IsBattlePayItem

Last wiki revision 2022-08-01

Returns whether an item was purchased from the in-game store. isPayItem = IsBattlePayItem(bag, slot)

  • bag: (bagID) - container ID, e.g. 0 for backpack.
  • slot: - slot index within the container, ascending from 1.
  • isPayItem: - true if the item was purchased from the in-game store, false otherwise.

Source

https://warcraft.wiki.gg/wiki/API_IsBattlePayItem · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.