API:AuctionBidBuyItem

__NOTOC__
AuctionBidBuyItem
Place a given bid on an auctioned item, refered by given item id,
AuctionBidBuyItem(ItemId, BidAmount);
or buy an auction item out.
AuctionBidBuyItem(ItemId, nil, BuyoutAmount);
==Parameters==
=== Arguments ===
:;ItemId
::string - The ItemId to bid on / to buy out.
:;BidAmount
::number - The amount of gold to bid, or nil when buying out.
:;BuyoutAmount
::number - The amount of gold to buy the item out with. Optional when using BidAmount.
=== Returns ===
:;nil
::void - A method without any return values.
== Examples ==
-- Bid on the item:
AuctionBidBuyItem(item_id, bid_amount);
-- Buyout the item:
AuctionBidBuyItem(item_id, nil, buyout_amount);
== Notes ==
== Related Functions ==