C_Transmog
namespaceavailable in: camelotStatus in wowlua
7 functions: 1 implemented, 0 recorded, 6 guessed. 15 events, 4 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
CanHaveSecondaryAppearanceForSlotID | Whether the slot can have a secondary appearance, such as a separate appearance for each shoulder. · by wowlua(slotID: number): boolean | guessed |
ExtractTransmogIDList | Returns the transmog IDs in the text. · by wowlua(input: string): number[] | guessed |
GetAllSetAppearancesByID | Returns the appearances of every item in the transmog set. · by wowlua(setID: number): TransmogSetItemInfo[]? | guessed |
GetItemIDForSource | Returns the item ID of the appearance source. · by wowlua(itemModifiedAppearanceID: number): number? | guessed |
GetSlotForInventoryType | Returns the equipment slot for an inventory type.(inventoryType: number): number? | guessed |
GetSlotVisualInfo | Returns the appearances shown, applied and pending for the transmog slot. · by wowlua(transmogLocation: TransmogLocationMixin): TransmogSlotVisualInfo? | implemented |
IsAtTransmogNPC | Whether the player is interacting with a transmogrifier. · by wowlua(): boolean | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
TRANSMOGRIFY_CLOSE | no payload | not implemented |
TRANSMOGRIFY_ITEM_UPDATE | no payload | not implemented |
TRANSMOGRIFY_OPEN | no payload | not implemented |
TRANSMOGRIFY_SUCCESS | transmogLocation: TransmogLocationMixin | not implemented |
TRANSMOGRIFY_UPDATE | transmogLocation: TransmogLocationMixin?, action: string? | implemented |
TRANSMOG_COLLECTION_CAMERA_UPDATE | no payload | not implemented |
TRANSMOG_COLLECTION_ITEM_FAVORITE_UPDATE | itemAppearanceID: number, isFavorite: boolean | implemented |
TRANSMOG_COLLECTION_ITEM_UPDATE | no payload | not implemented |
TRANSMOG_COLLECTION_SOURCE_ADDED | itemModifiedAppearanceID: number | not implemented |
TRANSMOG_COLLECTION_SOURCE_REMOVED | itemModifiedAppearanceID: number | not implemented |
TRANSMOG_COLLECTION_UPDATED | collectionIndex: number?, modID: number?, itemAppearanceID: number?, reason: string? | implemented |
TRANSMOG_COSMETIC_COLLECTION_SOURCE_ADDED | itemModifiedAppearanceID: number | not implemented |
TRANSMOG_SEARCH_UPDATED | searchType: TransmogSearchType, collectionType: TransmogCollectionType? | implemented |
TRANSMOG_SETS_UPDATE_FAVORITE | no payload | not implemented |
TRANSMOG_SOURCE_COLLECTABILITY_UPDATE | itemModifiedAppearanceID: number, collectable: boolean | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("TRANSMOGRIFY_CLOSE").
Structures
TransmogApplyWarningInfo· itemLink, textTransmogSetItemInfo· itemID, itemModifiedAppearanceID, invSlot, invTypeTransmogSlotInfo· isTransmogrified, hasPending, isPendingCollected, canTransmogrify, cannotTransmogrifyReason, hasUndo, isHideVisual, texture?TransmogSlotVisualInfo· baseSourceID, baseVisualID, appliedSourceID, appliedVisualID, pendingSourceID, pendingVisualID, hasUndo, isHideVisual, itemSubclass
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Transmogrify system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.