WoW:API GetStationeryInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(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...)
 
m (Move page script moved page API GetStationeryInfo to API GetStationeryInfo without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < GetStationeryInfo


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

local name, texture, cost = GetStationeryInfo(index)

Arguments[edit]

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


Returns[edit]

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[edit]

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