IsItemFromCrownCrate

From ESOUI Wiki

Jump to: navigation, search

This function returns true if the item in the specified bag slot is from a Crown Crate. It returns false if the item is not from the Crown Store, or if an empty or invalid bag slot was specified.

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 isCrownCrate = IsItemFromCrownCrate(bagIndex, slotIndex)

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox