benilla-re systems structs docs

OnSwapItemRecord

function · objectlayer · primitive

Address
0x5e1020 · 228 bytes, up to 0x5e1103
Meaning
Replays every parked swap of an item entry once its record arrives and frees each entry
Confidence
verified, proof one
Finding
objectlayer/inventory#bind-on-equip-confirmation

Finding: Bind-on-equip confirmation in objectlayer: inventory

Equipping or swapping an item into an equipment slot asks first when the item is not yet bound, binds on equip, and the player could use it. The move is parked in an ITEMSWAP table and EQUIP_BIND_CONFIRM or AUTOEQUIP_BIND_CONFIRM is signalled with its index; an item record not yet cached parks the move and replays it on arrival. 0x5e1be0(index, accept) replays an accepted move with the confirmation set, or releases both slots' items, and frees the entry.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.