C_Transmog.GetItemInfo

From Warcraft Wiki
(Redirected from API GetItemTransmogrifyInfo)
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_Transmog.CanTransmogItem TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.png + 9.1.0
BTNTemp.png C_Transmog.GetItemInfo + 7.0.3
Wowprogramming.png  BTNTemp.png GetItemTransmogrifyInfo + 4.3.0

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