23 lines
803 B
Lua
23 lines
803 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
---@meta
|
|
---
|
|
--- C_NewItems is a namespace for functions related to new item flags in the player's inventory.
|
|
---
|
|
--- @class C_NewItems
|
|
C_NewItems = {
|
|
--- Clears the new item flag on all items in the player's inventory.
|
|
--- @return nil
|
|
ClearAll = function() end,
|
|
|
|
--- Returns true if the item in the inventory slot is flagged as new.
|
|
--- @param containerIndex number: The index of the container.
|
|
--- @param slotIndex number: The index of the slot.
|
|
--- @return boolean: isNew
|
|
IsNewItem = function(containerIndex, slotIndex) end,
|
|
|
|
--- Clears the "new item" flag.
|
|
--- @param containerIndex number: The index of the container.
|
|
--- @param slotIndex number: The index of the slot.
|
|
RemoveNewItem = function(containerIndex, slotIndex) end,
|
|
}
|