Script::ShowInventorySellCursor
function · ui · orchestration
- Address
0x4c90b0· 157 bytes, up to0x4c914c- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Lua function ShowInventorySellCursor
- 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 8
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ReadInventorySlotArg ui
- SetCursorMode ui
- GetBaseCursorMode ui
- GetItemInSlot objectlayer
- IsSpellTargeting spell
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.