Script::ClickAuctionSellItemButton
function · ui · primitive
- Address
0x4ce310· 630 bytes, up to0x4ce585- Signature
int __fastcall (lua_State *L)- Meaning
- Swaps the cursor item with the sell slot after the bound, conjured, bag, wrapped and loot checks
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/auctionlists#sell-slot
Finding: Sell slot in ui: auction lists, sorting and deposits
ClickAuctionSellItemButton() swaps the cursor item with the sell slot, the item whose GUID is held in
0xb72608, using the ordinary cursor item calls and no cursor mode of its own. The new item must pass in this order,
each refusal showing an error and leaving the slot alone: bound items show ERR_AUCTION_BOUND_ITEM, or
ERR_AUCTION_QUEST_ITEM when the template's bonding is 4 or 5; items with the record flags 0x2 or 0x10000, a nonzero
ITEM_FIELD_DURATION or the template's two further flags show ERR_AUCTION_CONJURED_ITEM; a container with contents
shows ERR_AUCTION_BAG; a wrapped item shows ERR_AUCTION_WRAPPED_ITEM; a lootable item shows ERR_AUCTION_LOOT_ITEM.
Placing the item already in the slot clears the cursor; a change signals NEW_AUCTION_UPDATE (423).
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 10
- ClntObjMgrObjectPtr objectlayer
- CGGameUI::SetCursorItem ui
- GetCursorItemInfo ui
- ClearCursor ui
- CGGameUI::DisplayError ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- CGItem_C::IsBound objectlayer
- ItemRecordDword1c8IsSet objectlayer
- ItemRecordDword1ccIsSet objectlayer
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.