v0.13.8

C_Transmog

namespaceavailable in: camelot

Status in wowlua

7 functions: 1 implemented, 0 recorded, 6 guessed. 15 events, 4 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
CanHaveSecondaryAppearanceForSlotIDWhether the slot can have a secondary appearance, such as a separate appearance for each shoulder. · by wowlua
(slotID: number): boolean
guessed
ExtractTransmogIDListReturns the transmog IDs in the text. · by wowlua
(input: string): number[]
guessed
GetAllSetAppearancesByIDReturns the appearances of every item in the transmog set. · by wowlua
(setID: number): TransmogSetItemInfo[]?
guessed
GetItemIDForSourceReturns the item ID of the appearance source. · by wowlua
(itemModifiedAppearanceID: number): number?
guessed
GetSlotForInventoryTypeReturns the equipment slot for an inventory type.
(inventoryType: number): number?
guessed
GetSlotVisualInfoReturns the appearances shown, applied and pending for the transmog slot. · by wowlua
(transmogLocation: TransmogLocationMixin): TransmogSlotVisualInfo?
implemented
IsAtTransmogNPCWhether 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

eventpayloadfired by the emulator
TRANSMOGRIFY_CLOSEno payloadnot implemented
TRANSMOGRIFY_ITEM_UPDATEno payloadnot implemented
TRANSMOGRIFY_OPENno payloadnot implemented
TRANSMOGRIFY_SUCCESStransmogLocation: TransmogLocationMixinnot implemented
TRANSMOGRIFY_UPDATEtransmogLocation: TransmogLocationMixin?, action: string?implemented
TRANSMOG_COLLECTION_CAMERA_UPDATEno payloadnot implemented
TRANSMOG_COLLECTION_ITEM_FAVORITE_UPDATEitemAppearanceID: number, isFavorite: booleanimplemented
TRANSMOG_COLLECTION_ITEM_UPDATEno payloadnot implemented
TRANSMOG_COLLECTION_SOURCE_ADDEDitemModifiedAppearanceID: numbernot implemented
TRANSMOG_COLLECTION_SOURCE_REMOVEDitemModifiedAppearanceID: numbernot implemented
TRANSMOG_COLLECTION_UPDATEDcollectionIndex: number?, modID: number?, itemAppearanceID: number?, reason: string?implemented
TRANSMOG_COSMETIC_COLLECTION_SOURCE_ADDEDitemModifiedAppearanceID: numbernot implemented
TRANSMOG_SEARCH_UPDATEDsearchType: TransmogSearchType, collectionType: TransmogCollectionType?implemented
TRANSMOG_SETS_UPDATE_FAVORITEno payloadnot implemented
TRANSMOG_SOURCE_COLLECTABILITY_UPDATEitemModifiedAppearanceID: number, collectable: booleannot 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, text
  • TransmogSetItemInfo · itemID, itemModifiedAppearanceID, invSlot, invType
  • TransmogSlotInfo · 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.