C_BlackMarket .ItemPlaceBid
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 5.0.4 |
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.