IsItemPlayerLocked

From ESOUI Wiki

Jump to: navigation, search

Checks if a particular bag slot has an item that has been locked by the player. Returns true if the item is locked. Returns false if the item is not locked, or if there is no item.

Arguments

bagId
A number representing the bag to check; it must be one of the built-in Bag values.
slotIndex
The numeric index of the slot in that bag which should be checked. For most bags, this is a number ranging from 1 to the size of the bag.

Syntax

-- GIVEN:
-- number bagIndex
-- number slotIndex
--
-- RETURNS: boolean
local isLocked = IsItemPlayerLocked(bagIndex, slotIndex)

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox