Violet

Auction House

On this page

Use core.auction to enter or leave the Auction House and operate the active sell interface.

Live actions

A true result means the action was submitted from a valid interface state. Confirm the result after the Auction House updates.

Functions

core.auction.is_open() -> boolean

Returns whether the Auction House is currently open.


core.auction.enter() -> boolean

Requests entry into the Auction House. Returns false when entry is unavailable or it is already open.


core.auction.leave() -> boolean

Requests departure from the Auction House. Returns false when it is not open.


core.auction.submit_listing_ui() -> boolean

Submits the listing currently prepared in the sell interface. The sell view must be active and able to accept the action.


core.auction.cancel_selected_listing_ui() -> boolean

Cancels the listing currently selected in the sell interface. Returns false when there is no valid selection or another action is in progress.

lua
if core.auction.is_open() then
    local submitted = core.auction.cancel_selected_listing_ui()
end