WoW:API GetBuybackItemInfo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Move page script moved page API GetBuybackItemInfo to API GetBuybackItemInfo without leaving a redirect) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
Get | {{wowapi}} | ||
Get info on an item sold to a merchant. | |||
---- | |||
'''name,texture,price,quantity = GetBuybackItemInfo(index);''' | |||
Line 5: | Line 11: | ||
''' | ;''Arguments'' | ||
<!-- List each argument, together with its type --> | |||
:(index) | |||
:;index : Number - The index of the item in the merchant's buyback inventory. The item to buyback in the Merchant tab is the last item in the Buyback tab. | |||
---- | ---- | ||
;''Returns'' | |||
<!-- List each return value, together with its type --> | |||
:(name) | |||
:;name : String - the name of the item | |||
quantity : | :(texture) | ||
:;texture : String - the directory/filename of the texture used for the item | |||
:(price) | |||
:;price : Number - the price to buy the item back | |||
:(quantity) | |||
:;quantity : Number - the quantity of items in the stack | |||
---- | ---- | ||
Latest revision as of 04:45, 15 August 2023
← WoW API < GetBuybackItemInfo
Get info on an item sold to a merchant.
name,texture,price,quantity = GetBuybackItemInfo(index);
- Arguments
- (index)
- index
- Number - The index of the item in the merchant's buyback inventory. The item to buyback in the Merchant tab is the last item in the Buyback tab.
- Returns
- (name)
- name
- String - the name of the item
- (texture)
- texture
- String - the directory/filename of the texture used for the item
- (price)
- price
- Number - the price to buy the item back
- (quantity)
- quantity
- Number - the quantity of items in the stack