WoW:API GetAuctionItemLink: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Code example said GetAuctionItemInfo instead of GetAuctionItemLink)
Line 3: Line 3:
Retrieves a link string about one item in the current retrieved list of items from the Auction House.
Retrieves a link string about one item in the current retrieved list of items from the Auction House.


  link = GetAuctionItemInfo("type", index);
  link = GetAuctionItemLink("type", index);


----
----

Revision as of 00:48, 15 December 2006

GetAuctionItemLink -Documentation by ClydeJr-

Retrieves a link string about one item in the current retrieved list of items from the Auction House.

link = GetAuctionItemLink("type", index);

Arguments
(String type, Number index)
type
One of the following:
"list"
An item up for auction, the "Browse" tab in the dialog.
"bidder"
An item the player has bid on, the "Bids" tab in the dialog.
"owner"
An item the player has up for auction, the "Auctions" tab in the dialog.
index
The index of the item in the list to retrieve info from (normally 1-50, inclusive)

Returns
link
The link string for the specified item, or nil if the slot is empty.

Description
Retrieves a link string about an item in the current list of auction items.

Template:WoW API