GetValidItemStyleId

From ESOUI Wiki

Jump to: navigation, search

This function can be used to iterate over all style IDs in the game. Given an index, it returns an ItemStyle value.

If the function is given an out-of-range index, it returns ITEMSTYLE_NONE.

Arguments

index
An index between 1 and GetNumValidItemStyles(), inclusive.

Syntax

local styles = {}
 
for i = 1, GetNumValidItemStyles() do
   local id = GetValidItemStyleId(i)
   styles[id] = GetItemStyleName(id)
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox