GetSlotStackSize

From ESOUI Wiki

Jump to: navigation, search

This function returns the size of the item stack in a bag slot, and the maximum size that that stack can have.

Contents

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.

Return values

size
The number of items in the stack.
maxSize
The maximum amount of this item that can be stacked in this bag slot.

Example

local size, max = GetSlotStackSize(bag, slot)

Notes

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox