v0.13.8

ITEM_LOCK_CHANGED

eventimplementedC_Containeravailable in: camelot

Fires when an item in the player's bags or equipment becomes locked or unlocked. Blizzard's item buttons update their locked look. · description by wowlua

declarationwowlua
declare event ITEM_LOCK_CHANGED(bagOrSlotIndex: BagIndex, slotIndex: number?)

Payload

#nametypedescription
1bagOrSlotIndexBagIndexThe bag the item is in, or the equipment slot when slotIndex is nil.
2slotIndexnumber?The slot within the bag, or nil for an equipped item.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its cursor, inventory and merchant models. what the statuses mean

sources

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