API GetItemClassInfo

From Wowpedia
Jump to: navigation, search

Returns the name of the item type.

name = GetItemClassInfo(classID)

Arguments

classID 
number - ID of the ItemType

Returns

name 
string - Name of the item type

Example

for i = 0, NUM_LE_ITEM_CLASSS-1 do
	print(i, GetItemClassInfo(i))
end
> 0, Consumable
> 1, Container
> 2, Weapon
> ...

Patch changes

See also