C_TransmogCollection.GetSourceInfo

From Warcraft Wiki
Jump to navigation Jump to search

Returns appearance source info.

sourceInfo = C_TransmogCollection.GetSourceInfo(sourceID)

Arguments

sourceID
number

Returns

sourceInfo
structure - AppearanceSourceInfo
AppearanceSourceInfo
Field Type Description
visualID number AppearanceID
sourceID number
isCollected boolean Whether the item has been collected
itemID number
itemModID number 0=Normal, 1=Heroic, 3=Mythic/Elite, 4=Raid Finder (TransmogSetID)
invType number?🔗 = 0
categoryID Enum.TransmogCollectionType?🔗 default=None
inventorySlot number?
sourceType number? Appearance Source Type
name string?
quality number?
useError string? Reason that meetsTransmogPlayerCondition == false.
useErrorType Enum.TransmogUseErrorType?
meetsTransmogPlayerCondition boolean? false if player doesn't meet transmog requirement, else nil
isHideVisual boolean? Whether the item is a hidden visual, e.g.  [Hidden Helm]
Enum.TransmogUseErrorType
Value Key
0 None
1 PlayerCondition
2 Skill
3 Ability
4 Faction
5 Holiday
6 HotRecheckFailed

Patch changes

Legion Patch 7.1.0 (2016-10-25): Added.