no edit summary
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
'''Returns:''' n return values, each of which is a major auction category. Right now "Weapon", "Armor", "Container", "Consumable", "Trade Goods", "Projectile", "Quiver", "Recipe", "Reagent", "Miscallaneous" | '''Returns:''' n return values, each of which is a major auction category. Right now "Weapon", "Armor", "Container", "Consumable", "Trade Goods", "Projectile", "Quiver", "Recipe", "Reagent", "Miscallaneous" | ||
---- | |||
;''Example'' | |||
local a,b,c,d,e,f,g,h,i,j = GetAuctionItemClasses(); | |||
DEFAULT_CHAT_FRAME:AddMessage(a.." "..b.." "..c.." "..d.." "..e.." "..f.." "..g.." "..h.." "..i.." "..j); | |||
;''Result'' | |||
This will give you the names of every category, in the client's language. | |||
:a = "Weapon" | |||
:b = "Armor" | |||
:c = "Container" | |||
:d = "Consumable" | |||
:e = "Trade Goods" | |||
:f = "Projectile" | |||
:g = "Quiver" | |||
:h = "Recipe" | |||
:i = "Reagent" | |||
:j = "Miscallaneous" | |||
---- | ---- | ||