v0.13.8

C_TransmogCollection.GetValidAppearanceSourcesForClass

functionimplementedavailable in: camelot

Returns the sources of the appearance that the class can use. · description by wowlua

signaturewowlua
function C_TransmogCollection.GetValidAppearanceSourcesForClass(    appearanceID: number,    classID: number,    categoryType: TransmogCollectionType?,    transmogLocation: TransmogLocationMixin?): AppearanceSourceInfo[]?

Parameters

nametypedescription
appearanceIDnumberID of the item appearance (visual).
classIDnumber
categoryTypeTransmogCollectionType?Collection category to narrow the sources to.
transmogLocationTransmogLocationMixin?Transmog slot to narrow the sources to.

Returns

sources · AppearanceSourceInfo[]?

AppearanceSourceInfo
fieldtypedescription
visualIDnumber
sourceIDnumber
isCollectedboolean
itemIDnumber
itemModIDnumber
invTypenumberDefault: 0.
categoryIDTransmogCollectionTypeDefault: "None".
playerCanCollectboolean
isValidSourceForPlayerboolean
canDisplayOnPlayerboolean
inventorySlotnumber?
sourceTypenumber?
namestring?
qualitynumber?
useErrorstring?
useErrorTypeTransmogUseErrorType?
meetsTransmogPlayerConditionboolean?
isHideVisualboolean?
isValidForEquippedItemboolean?

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TransmogrifyCollection system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.