v0.13.8

C_PaperDollInfo.GetTemporaryEnchantmentInfo

functionguessedavailable in: camelot

Queries information about active temporary enchants on inventory slot items.

signaturewowlua
function C_PaperDollInfo.GetTemporaryEnchantmentInfo(    slot: LuaInventorySlot): TemporaryItemEnchantInfo?

Parameters

nametypedescription
slotLuaInventorySlotAn appropriate INVSLOT_ constant.

Returns

enchantInfo · TemporaryItemEnchantInfo? · Returns nothing if no temporary enchantment is active for this slot.

TemporaryItemEnchantInfo
fieldtype
enchantIDnumber
remainingTimeMsnumber
chargesRemainingnumber
hasExpirationTimeboolean

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PaperDollInfo system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.