Wowpedia
Advertisement
Wowpedia
240,454
pages

Source: FrameXML\ObjectAPI\Item.lua

API

Methods

Example

local item = Item:CreateFromItemID(21524)

item:ContinueOnItemLoad(function()
	local name = item:GetItemName() 
	local icon = item:GetItemIcon()
	print(name, icon) -- "Red Winter Hat", 133169
end)

Patch changes

See also

External links

Advertisement