OnItemRecordArrived
function · objectlayer · primitive
- Address
0x5d8390· 99 bytes, up to0x5d83f2- Meaning
- Hands an arrived item record to the item and lowers the owner's pending count
- Confidence
- verified, proof one
- Finding
- objectlayer/items#the-item-record
Finding: The item record in objectlayer: items
An item reads its record from the item record cache by its entry. A request that misses counts
one more pending display on the owner, the player whose GUID is ITEM_FIELD_OWNER; the arrival
callback counts it back. Arrival sets bit 1, recaches the five bytes and the sound row: the
ItemGroupSounds row whose id is the ItemDisplayInfo row's +0x2c. Then, while the byte at
0xb4b424 is set and the item is the active player's: a record whose +0x60 exceeds 1 clears the
lock on the entry's items and signals ITEM_LOCK_CHANGED (only with the player's object), else
this item's lock is cleared through the interface; 0x5ebde0 takes the item on the player's
object, when it exists; the interface refreshes.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- ClntObjMgrObjectPtr objectlayer
- CGItem_C::ApplyRecord objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.