SetBankInteraction
function · ui · primitive
- Address
0x4f84d0· 87 bytes, up to0x4f8526- Meaning
- Opens the bank for a banker GUID and signals BANKFRAME_OPENED, or closes it for GUID 0 and signals BANKFRAME_CLOSED
- Confidence
- inferred
- Finding
- objectlayer/playermessages#item-push-bank-and-binding
Finding: Item push, bank and binding in objectlayer: player messages
0x166 reads a player GUID, three i32, a u8 bag, an i32 slot, the item, three more i32, and passes
them to 0x491a60. 0x1b8 opens the bank for a GUID (0x4f84d0). 0x1ba shows
ERR_BANKSLOT_FAILED_TOO_MANY, _INSUFFICIENT_FUNDS or _NOTBANKER for results 0 to 2 and
nothing for 3 and above. 0x155 stores the bind point (interaction). 0x158 stores the bound GUID,
plays sound 0x475 and shows ERR_DEATHBIND_SUCCESS_S with the area's name.
The derivation is in the doc.
Callers 4
- ClearInteractionTarget ui
- Script::CloseBankFrame ui
- HandlePlayerNotice objectlayer
- CGUnit_C::OnNPCFlagsChanged objectlayer
Callees 3
Calls and jumps by a bare address, from tables/calls.tsv.