UnlockItem
function · ui · primitive
- Address
0x495420· 62 bytes, up to0x49545d- Signature
void __stdcall (uint64_t guid)- Meaning
- Clears an item's pending-operation lock and signals ITEM_LOCK_CHANGED
- Confidence
- verified, proof one
- Finding
- ui/cursor#the-item-lock
Finding: The item lock in ui: the cursor payload
Bit 0 of the item's word at +0x314 marks an operation pending. 0x4953e0(guid) sets it and signals
ITEM_LOCK_CHANGED only when the item resolves. 0x495420(guid) clears it and signals the event for any nonzero
GUID, whether or not the item resolves. A locked item cannot be picked up from a bag. The server's reply clears it: the
inventory slot field update (objectlayer/playerfields#inventory-and-money-changes) and a failed inventory
change message (objectlayer/inventory) clear the items they name. A cancelled drag releases its item through
the clear's unlock argument; a swap clears with unlock 0, so the held item stays locked until the server
answers. 0x495460 clears every item the active player holds, bags included, and signals once; the player's
resurrection calls it.
The derivation is in the doc.
Callers 17
- EndLootWindow ui
- ClearCursor ui
- ResetCompose ui
- TradeInfoClearPlayerItem ui
- CGTradeInfo::UnlockTradeItems ui
- SetLootSource ui
- ClearAuctionSellSlot ui
- OnBackpackSlotChanged ui
- OnContainerSlotChanged ui
- CGItem_C::ApplyRecord objectlayer
- OnItemStackCountChanged objectlayer
- ReadSellItemResult objectlayer
- OnInventorySlotChanged objectlayer
- CGPlayer_C::AnswerBindConfirm objectlayer
- HandlePlayerNotice objectlayer
- CGPlayer_C::ReadLootResponse objectlayer
- EndWrapItem objectlayer
Callees 2
- ClntObjMgrObjectPtr objectlayer
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.