CGItem_C::ApplyRecord
function · objectlayer · primitive
- Address
0x5d8440· 533 bytes, up to0x5d8654- Signature
void __thiscall (CGItem_C *this)- Meaning
- Takes an item's arrived record: recaches its bytes and sound row, then in the world runs the lock and owner signal
- Confidence
- verified, proof one
- Finding
- objectlayer/items#the-item-record
- Test
objectlayer::apply_record_calls_difftest
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 2
- CGItem_C::RequestRecord objectlayer
- OnItemRecordArrived objectlayer
Callees 19
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- UnlockItem ui
- SignalQuestLogForItem ui
- RecountItemActionSlots ui
- BuildCraftList ui
- RaiseItemBagUpdate ui
- BuildTradeSkillList ui
- SignalUnitEvent ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- GetItemClass objectlayer
- GetItemSubClass objectlayer
- GetItemInventoryType objectlayer
- GetItemDisplayId objectlayer
- GetItemMaterial objectlayer
- GetItemRecordDword1b4 objectlayer
- CGPlayer_C::ApplyPendingItemExpirations objectlayer
- ClearItemFlagByEntry objectlayer
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.