API C_BlackMarket.ItemPlaceBid

From Wowpedia
Jump to: navigation, search

Places a bid on a black market auction.

C_BlackMarket.ItemPlaceBid(marketID, bid)

Arguments

marketID 
Number - black market auction ID (not line index!) to bid on.
bid 
Number - bid amount, in copper.

Example

The following snippet bids all your gold on the "Hot Item!" auction.

local hotMarketID = select(15, C_BlackMarket.GetHotItem())
local allYourGold = GetMoney()
C_BlackMarket.ItemPlaceBid(hotMarketID, allYourGold)

Patch changes

See also