Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
This function is restricted.
|
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[]
Patch 5.0.4 (2012-08-28): Added.