benilla-re systems structs docs

ClearAuctionSellSlot

function · ui · orchestration

Address
0x4cd640 · 62 bytes, up to 0x4cd67d
Signature
void __stdcall ()
Meaning
Unlocks and clears the sell slot item and signals NEW_AUCTION_UPDATE
Confidence
verified, proof one
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 4

Callees 2

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