API C_Transmog.GetItemInfo

From Wowpedia
Jump to: navigation, search

Returns how an item can interact with transmogrification.

canBeChanged, noChangeReason, canBeSource, noSourceReason = C_Transmog.GetItemInfo(itemID)

Arguments

itemID 
Number - ID of the item to query.

Returns

canBeChanged 
Boolean - true if the item can be transmogrified to look like another.
noChangeReason 
String/nil - if the item cannot be transmogrified, a token identifying the reason; otherwise nil.
  • "INVALID_TYPE" : items of this type cannot be transmogrified (e.g. fishing poles, or non-equippable items)
  • "NO_ITEM" : player does not have the item.
canBeSource 
Boolean - true if the appearance of this item can be transferred to another.
noSourceReason 
String/nil - if the item cannot be used to transmogrify another, a token identifying the reason; otherwise nil.

See also

Patch changes