benilla-re systems structs docs

Script::ShowContainerSellCursor

function · ui · orchestration

Address
0x4fa460 · 142 bytes, up to 0x4fa4ed
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Lua function ShowContainerSellCursor
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/merchantcursor#bag-and-sheet-sell-cursors

Finding: Bag and sheet sell cursors in ui: the vendor cursors

ShowContainerSellCursor(bag, slot) and ShowInventorySellCursor(slot) set the pointer picture to Buy (3) for an item that exists and is not locked, and change nothing otherwise. Both do nothing when a spell is awaiting a target or the base cursor is not Point (1). A non-number raises a usage error in the container form; the inventory form raises Invalid inventory slot in ShowInventorySellCursor for a non-number or an out-of-range slot, and does nothing for slot -1. Neither sends a packet or changes the payload.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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