Script::ShowContainerSellCursor
function · ui · orchestration
- Address
0x4fa460· 142 bytes, up to0x4fa4ed- 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
- ResolveContainerSlot ui
- SetCursorMode ui
- GetBaseCursorMode ui
- GetItemInSlot objectlayer
- IsSpellTargeting spell
- lua_isnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.