WoW API: GetStationeryInfo

From AddOn Studio
Revision as of 17:45, 6 June 2007 by WoWWiki>Ravas (New page: {{wowapi}} __NOTOC__ Gets the name, texture path, and cost for stationery. local name, texture, cost = GetStationeryInfo(index) == Arguments == :;index : Number - The index of the stat...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetStationeryInfo


Gets the name, texture path, and cost for stationery.

local name, texture, cost = GetStationeryInfo(index)

Arguments

index
Number - The index of the stationery from 1 to GetNumStationeries().


Returns

name, texture, cost
name
String - The name of the stationery
texture
String - The path to the texture
cost
Number - The cost of the stationery in copper


Details

Not yet fully implemented. Currently an index of 1 returns "Default Stationery".