Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API C_Transmog.GetSlotInfo

From Wowpedia
Jump to: navigation, search

Returns info for a transmog slot.

isTransmogrified, hasPending, isPendingCollected, canTransmogrify, cannotTransmogrifyReason, hasUndo, isHideVisual, texture = C_Transmog.GetSlotInfo(slot, type)

Arguments

slot 
number - InventorySlotId
type 
Enum.TransmogType
Enum.TransmogType
Value Constant Description
0
LE_TRANSMOG_TYPE_ILLUSION Weapon Enchant
1
LE_TRANSMOG_TYPE_APPEARANCE Armor/Weapon Appearance

Returns

isTransmogrified 
boolean - If the item is tranmogrified
hasPending 
boolean - If the item is pending transmogrification
isPendingCollected 
boolean
canTransmogrify 
boolean - If the item can be transmogrified
cannotTransmogrifyReason 
number - The error reason index if canTransmogrify is false. See TRANSMOG_INVALID_CODES and TRANSMOGRIFY_INVALID
hasUndo 
boolean - If the item is pending detransmogrification
isHideVisual 
boolean
texture 
number (FileID)

Patch changes