C_TransmogCollection. GetValidAppearanceSourcesForClass
functionimplementedavailable in: camelot
Returns the sources of the appearance that the class can use. · description by wowlua
function C_TransmogCollection.GetValidAppearanceSourcesForClass( appearanceID: number, classID: number, categoryType: TransmogCollectionType?, transmogLocation: TransmogLocationMixin?): AppearanceSourceInfo[]?Parameters
| name | type | description |
|---|---|---|
appearanceID | number | ID of the item appearance (visual). |
classID | number | |
categoryType | TransmogCollectionType? | Collection category to narrow the sources to. |
transmogLocation | TransmogLocationMixin? | Transmog slot to narrow the sources to. |
Returns
sources · AppearanceSourceInfo[]?
| field | type | description |
|---|---|---|
visualID | number | |
sourceID | number | |
isCollected | boolean | |
itemID | number | |
itemModID | number | |
invType | number | Default: 0. |
categoryID | TransmogCollectionType | Default: "None". |
playerCanCollect | boolean | |
isValidSourceForPlayer | boolean | |
canDisplayOnPlayer | boolean | |
inventorySlot | number? | |
sourceType | number? | |
name | string? | |
quality | number? | |
useError | string? | |
useErrorType | TransmogUseErrorType? | |
meetsTransmogPlayerCondition | boolean? | |
isHideVisual | boolean? | |
isValidForEquippedItem | boolean? |
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.