WoW:API QueryAuctionItems: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 3: Line 3:
Will return informtion about items in the auction house.
Will return informtion about items in the auction house.


  QueryAuctionItems("name", minLevel, maxLevel, invTypeIndex, classIndex, subclassIndex, page, isUsable, qualityIndex) -
  QueryAuctionItems("name", "minLevel", "maxLevel", invTypeIndex, classIndex, subclassIndex, page, isUsable, qualityIndex) -


----
----
;''Arguments''
;''Arguments''
:(string type, string type, string type, index value, )


* Name
:;name : A part of the item's name (or the complete name) or "" for no retrenchment.
* minLevel
:;minLevel : Items below this level won't be returned. Either a number or "" for no restrictions.
* maxLevel
:;maxLevel : Items above this level won't be returned. Either a number or "" for no restrictions.
* invtypeIndex
:;invtypeIndex : Character's slotposition in which the item can be placed in. Can be one of the following values:
* classIndex
:::;INVTYPE_HEAD : Head slot
* subclassIndex
:::;INVTYPE_NECK : Neck slot
* page - What page in the auctionhouse this shows up
:::;INVTYPE_SHOULDER : Shoulder slot
* isUsable
:::;INVTYPE_BODY : Body slot
* qualityIndex
:::;INVTYPE_CHEST : Chest slot
:::;INVTYPE_WAIST : Waist slot
:::;INVTYPE_LEGS : Leg slot
:::;INVTYPE_FEET : Feet slot
:::;INVTYPE_WRIST : Wrist slot
:::;INVTYPE_HAND : Hand slot
:::;INVTYPE_FINGER : Finger slot
:::;INVTYPE_TRINKET : Trinket slot
:::;INVTYPE_CLOAK : Cloak slot
:::;INVTYPE_HOLDABLE : unknown
:::;INVTYPE_WEAPONMAINHAND : Weapon mainhand slot
:::;INVTYPE_ROBE : Robe slot
:::;INVTYPE_TABARD : unknown
:::;INVTYPE_BAG : unknown
:::;INVTYPE_2HWEAPON : Both weapon slots
:::;INVTYPE_RANGED : Ranged weapon slot
:::;INVTYPE_SHIELD : Shield slot
:::;INVTYPE_WEAPON : unknown
:::;nil : no restrictions
:;classIndex : Items not in this class won't be returned. Index corresponds to the index returned by GetAuctionItemClasses() or nil for no restrictions.
:;subclassIndex : Items not in this subclass won't be returned. Index corresponds to the index used in GetAuctionItemSubClasses(index) or nil for no restrictions.
:;page : What page in the auctionhouse this shows up
:;isUsable : unknown (nil = no restrictions)
:;qualityIndex : unknown (nil = no restrictions)


----
----
;''Returns''
;''Returns''
nothing





Revision as of 23:29, 14 July 2005

QueryAuction Items

Will return informtion about items in the auction house.

QueryAuctionItems("name", "minLevel", "maxLevel", invTypeIndex, classIndex, subclassIndex, page, isUsable, qualityIndex) -

Arguments
(string type, string type, string type, index value, )
name
A part of the item's name (or the complete name) or "" for no retrenchment.
minLevel
Items below this level won't be returned. Either a number or "" for no restrictions.
maxLevel
Items above this level won't be returned. Either a number or "" for no restrictions.
invtypeIndex
Character's slotposition in which the item can be placed in. Can be one of the following values:
INVTYPE_HEAD
Head slot
INVTYPE_NECK
Neck slot
INVTYPE_SHOULDER
Shoulder slot
INVTYPE_BODY
Body slot
INVTYPE_CHEST
Chest slot
INVTYPE_WAIST
Waist slot
INVTYPE_LEGS
Leg slot
INVTYPE_FEET
Feet slot
INVTYPE_WRIST
Wrist slot
INVTYPE_HAND
Hand slot
INVTYPE_FINGER
Finger slot
INVTYPE_TRINKET
Trinket slot
INVTYPE_CLOAK
Cloak slot
INVTYPE_HOLDABLE
unknown
INVTYPE_WEAPONMAINHAND
Weapon mainhand slot
INVTYPE_ROBE
Robe slot
INVTYPE_TABARD
unknown
INVTYPE_BAG
unknown
INVTYPE_2HWEAPON
Both weapon slots
INVTYPE_RANGED
Ranged weapon slot
INVTYPE_SHIELD
Shield slot
INVTYPE_WEAPON
unknown
nil
no restrictions
classIndex
Items not in this class won't be returned. Index corresponds to the index returned by GetAuctionItemClasses() or nil for no restrictions.
subclassIndex
Items not in this subclass won't be returned. Index corresponds to the index used in GetAuctionItemSubClasses(index) or nil for no restrictions.
page
What page in the auctionhouse this shows up
isUsable
unknown (nil = no restrictions)
qualityIndex
unknown (nil = no restrictions)

Returns

nothing



Example


Result

Description

Template:WoW API QueryAuctionItems