CGPlayer_C::OpenWrappedItem
function · objectlayer · orchestration
- Address
0x5edd60· 155 bytes, up to0x5eddfa- Meaning
- Plays the unwrap sound and sends CMSG_OPEN_ITEM for an item
- Confidence
- verified, proof one
- Finding
- objectlayer/inventory#opening-and-wrapping-items
Finding: Opening and wrapping items in objectlayer: inventory
0x5edba0(item, &bag, &slot) finds an item's bag index and slot. 0x5edc80 opens an item:
the auto-loot byte follows modifier key 0, the loot target becomes the item, and 0xac goes out
with the bag and slot; 0x5edd60 plays UnwrapGift and sends the same. 0x5edea0 starts
wrapping with an item, 0x5eded0 ends it, and 0x5edfc0(target) sends 0x1d3 with the wrapper's
and the target's bag and slot, then ends it. 0x5ede00 shows ERR_WRONG_BAG_TYPE_SUBCLASS with
the bag family's name for result 0x10.
The derivation is in the doc.
Callers 1
- CGItem_C::Use objectlayer
Callees 5
- CDataStore::PutInt8 base
- CDataStore::PutUInt32 base
- SndInterfacePlayInterfaceSound sound
- ClientServices::Send net
- CGPlayer_C::GetItemBagSlot objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.