Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C NewItems.IsNewItem

Last wiki revision 2023-08-13

Returns true if the item in the inventory slot is flagged as new. isNew = C_NewItems.IsNewItem(containerIndex, slotIndex)

  • containerIndex: - BagID of the container.
  • slotIndex: - of the inventory slot within the container.
  • isNew: - Returns true if the inventory slot holds a newly-acquired item; otherwise false (empty slot or a non-new item).
  • - Used by to clear the new-item flag after interacting with the new item or closing the bags.
  • - Used by to emphasise recent purchases from the In-Game Store.

Source

https://warcraft.wiki.gg/wiki/API_C_NewItems.IsNewItem · 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.