GetNumValidItemStyles

From ESOUI Wiki

Jump to: navigation, search

This function returns the number of valid item styles that are hardcoded into the game. This does not include ITEM_STYLE_NONE or ITEM_STYLE_UNIQUE.

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