Wowpedia
Advertisement
Shadowlands-Icon-Inline.png C_Transmog.GetSlotInfo
+ 7.0.3   Townlong-Yak Globe.png  Townlong-Yak BAD.png  ProfIcons engineering.png
GetTransmogrifySlotInfo
+ 4.3.0   - 7.0.3   Townlong-Yak Globe.png  Wowprogramming.png

Returns info for a transmog slot.

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

Arguments

transmogLocation 
TransmogLocationMixin

Returns

isTransmogrified 
boolean
hasPending 
boolean - If the item is pending transmogrification
isPendingCollected 
boolean
canTransmogrify 
boolean
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 - If the appearance hides the gear, e.g.  [Hidden Helm]
texture 
number? : FileID

Patch changes

  • Shadowlands Patch 9.0.1 (2020-10-13): Added TransmogLocationMixin argument.
  • Legion Patch 7.0.3 (2016-07-19): Moved to C_Transmog.GetSlotInfo()
  • Cataclysm Patch 4.3.0 (2011-11-29): Added as GetTransmogrifySlotInfo()
Advertisement