Class AuctionHouse [-] [+]

Represents an auction house entry and provides methods for deposit calculation, auction creation, bid placement, and auction management for that house.

Methods

AddAItem

@brief Registers an item in the AuctionHouseMgr's internal tracking map.

AddAuction

@brief Adds an auction entry to a specific auction house instance.

CreateNewAuction

Creates and registers a new auction entry. @return uint32 - The generated Auction ID, or 0 on failure.

GetCutPercent

Returns the auction house cut percentage configured for this auction house.

GetDeposit

@brief Calculates the required deposit for listing an item. @return uint32 - The calculated deposit amount in copper coins.

GetDepositPercent

Returns the deposit percentage configured for this auction house.

GetEntryFromFaction

@brief Retrieves the Auction House DBC entry based on a faction template. @return AuctionHouseEntry* - Pointer to the DBC entry or nil if not found.

GetEntryFromHouse

@brief Retrieves the Auction House DBC entry based on its House ID. @return AuctionHouseEntry* - Pointer to the DBC entry or nil if not found.

GetFaction

Returns the faction template ID associated with this auction house entry.

GetHouseId

Returns the auction house ID.

PlaceBid

Places a remote bid or performs a buyout for an auction entry, bypassing distance/NPC checks. @return bool - True if the bid was successfully processed and saved to the database.

RemoveAItem

@brief Removes an item from the AuctionHouseMgr's internal tracking map. @return bool - True if the item was found and removed from the map.

RemoveAuction

@brief Removes an auction entry from a specific auction house instance. @return bool - True if the auction was found and successfully removed.

Generated on
©2026 - ALE Lua Engine